Computer Science, asked by rameshsehgal1947, 3 months ago

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

Answers

Answered by aryavarnika964
3

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.

Answered by Anonymous
10

how is if statement different from if... else statement

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.

Similar questions