Question: what is the difference between if statement and if then statement?
Answer: if..then statement is used to make a decision when there is only two options. ... Similarly, if you have to write a program that have to choose from three options then we use if..then..else statement. But, if you have to write a program that have more than three option then we use if..then..else if..else statement.