what is the use of If....... else statement?
Answers
Answered by
1
Answer:
sorry, Not understood your question.
Answered by
2
If___else statement :
Explanation:
- The if-else statement is used to states any condition to be true or not. The if-condition will execute its body when any condition which is defined in the if-condition will be true. But the else-statement executes its body if the if statement condition is not true.
- For example, If a user wants to use the condition to check that 5 is greater than 4 or not then he can write this statement in the if statement in a c language like:-
if(5>4)
{
//statement
}
else
{
//statement
}
Learn More:
- If___else statement: https://brainly.in/question/13655626
Similar questions