An if statement can optionally include an else keyword and block of statements, which will execute if the boolean expression for the if statement evaluates to false.
1
2
3
4
5
6
7
8
9
10
| if (age >= 50){ Console.WriteLine("Hey, you should consider joining AARP!"); DisplayDetailsOfAARPMembership();}else{ Console.WriteLine("You're still a young pup"); DisplayInfoAboutVideoGames();} |

