210k views
3 votes
Difference between if then and if then else statement ​

User Jbltx
by
3.3k points

1 Answer

2 votes

Answer:

if..then statement is used to make a decision when there is only two options.

&

you have to write a program that have to choose from three options then we use if..then..else statement.

I HOPE THIS WILL HELP YOU IF NOT THEN SORRY

HAVE A GREAT DAY :)

User Tywana
by
3.4k points