Wednesday, 21 September 2016

Program of if conditions



if condition

#include <iostream>
int main ()
{
int a = 10;
if( a > 5 )
{
cout<< " If Condition is satisfied ";
cout << " a is greater than 5 " <<a;
}
cout << "value of a is : " << a ;

return 0;
}

No comments:

Post a Comment