"Go to the store and buy a loaf of bread. If they have eggs, buy a dozen."
Husband returns with 13 loaves of bread.
Wife asks why he came home with so much bread and no eggs, so he explains to her:
bread = 0;
eggs = 5;
//Buy a loaf
bread = bread + 1;
//If there are eggs
if (eggs >= 2)
bread = bread + 12;
//What to buy
System.out.println("Buy " bread " loaves of bread.");