Question: 1. what is the difference between if statement and if-then-else statement?
Answer: With the if statement, a program will execute the true code block or do nothing. With the if/else statement, the program will execute either the true code block or the false code block so something is always executed with an if/else statement.