what is if else statement ? write a program of if -else statement
Answers
Answered by
0
Answer:
f-else’ Statement if-else statement is another type of if statement. It executes one block of the statement(s) when the condition is true and the other when it is false. in any situation, one block is executed and the other is skipped. In the if-else statement:
Explanation:
Answered by
1
Answer:
(dear friend I'm giving this answer with consideration to java programming language as I've been taught java in school I don't know C programming)
it is used to execute two statements either if statement or else statement for a single condition.
Explanation:
PROGRAM based on if else in java is attached as a picture above
please mark as Brainliest
Attachments:
Similar questions