0
If else
In conditions if we use ( a== 1),what is the meaning of that
3 Respostas
+ 7
Nandini Reddy a equals to 1
the statement is true
The if and else statements are used to compare and contrast a statement. Print 'yes' if it's true and 'no' if it's false.
+ 2
It means that if a is equal to 1,then the statements in the brackets of if will be executed otherwise not.
Hope it helps
+ 1
If a equals to 1 then any statement in the body of if loop is executed
If condition is false or 0 then any statement in the body of else loop is executed