C Programming
Simple if Statement
The statement which executes on the basis of certain condition is called simple if statement.
Syntax.
if(conditon)
{
//body to execute
}
Example:
void main()
{
int a=10;
if (a%2==0)
printf("No is even");
}
O/p: No is even