+ 1
what we have to do in else statement
4 Answers
+ 19
We have to write the code to be executed if the condition of if() statement is false.
if(a==0){
cout<<"zero";
}
else{
cout<<"non-zero";
}
+ 9
The code to be executed in case the if condition is false.
+ 2
tnx to all for helping me
0
Else is statement which is executed when all the if statements goes wrong.