Syntax:
if(condition)
{
statement1;
statement2;
}
For Example:
#include<stdio.h>
main()
{
if(2>1)
{
printf("Confirmed");
}
}
Output:
Confirmed
All in one blogging website
Syntax:
if(condition)
{
statement1;
statement2;
}
For Example:
#include<stdio.h>
main()
{
if(2>1)
{
printf("Confirmed");
}
}
Output:
Confirmed