Computer Science, asked by kumaranand0950, 5 months ago

Define if statement and if-else statement with example.​

Answers

Answered by vanshikasingh125
4

Answer:

if (condition1) { //These statements would execute if the condition1 is true } else if(condition2) { //These statements would execute if the condition2 is true } else if (condition3) { //These statements would execute if the condition3 is true } . . else { //These statements would execute if all the conditions return ...

Similar questions