Computer Science, asked by gurpreetsharma123456, 6 months ago

how is if statenment different from if els statenment​

Answers

Answered by Anonymous
6

Explanation:

\LARGE{\bf{\underline{\underline\color{blue}{    Required \: 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.

\huge\underline{\overline{\mid{\bold{\red{Hope \:it \:helps\: you}}\mid}}}

Answered by kavitaamitsumit1987
2

Explanation:

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