Computer Science, asked by rameshsehgal1947, 5 months ago

how is if statement diffrent from if... else statement​

Answers

Answered by tanishathakur5
0

Answer:

how to find lcm

Explanation:

eas the answer is yes, I have a good idea

Answered by Anonymous
0

In an if statement, there is only one condition and one command for what to do if the condition is true.

However, in an if...else statement there is one condition and two commands; the first one is run if the statement is true and the second is run if the statement is false.

There is also a major difference in the syntax.

Hope it helped!

Similar questions