Computer Science, asked by sona8163, 2 months ago

What is the difference between IF...THEN and IF...THEN...ELSE statements?​

Answers

Answered by trupthi8
8

Answer:

If the condition is false then no statement will be executed. IF_THEN_ELSE STATEMENT ➡ In this statement if the condition given after IF is true then the statement given after THEN will be executed but if the condition is false then the statement after ELSE will be executed.

hope it's help u

Answered by jaanu4566
8

Answer:

If the condition is false then no statement will be executed. IF_THEN_ELSE STATEMENT ➡ In this statement if the condition given after IF is true then the statement given after THEN will be executed but if the condition is false then the statement after ELSE will be executed.

Similar questions