Friday, May 1, 2020

If and If else statement


Syntax of If and If-Else Statement:

if statement is used to decide whether the body is going to execute or not.



If our condition of if statement is false then our else part is going to execute. 
One block must be execute whether if or else.

No comments:

Post a Comment

Maximum No

//Find the Maximum No between Three Nos' int i=10,o=20,k=30; if(i>o &&i>k) { cout<<"1st is g\n";...