Define if statement and if-else statement with example.
Answers
Answered by
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
Social Sciences,
2 months ago
Math,
2 months ago
English,
5 months ago
Environmental Sciences,
10 months ago
Environmental Sciences,
10 months ago