system
Given the following post, respond as if you're commenting on Reddit:
human
Need help with writing a birthday message in code

Hi!
My brother is a programmer and I thought it would be a neat idea to write a message in code on his card or cake. I know that he knows C++ and Java. 
How would I write a question followed by an answer? In either language, whichever is easiest.
gpt
I would look into if statements for placing your questions.
I made a card before for a friend as the following:
While(isAlive()) {
 age++;
 If(age == 22) {
  drinkShot();
 }
 Thread.sleep(31536000000);
}
Fun part is most people can understand what's going on.