If statement example in c very easy .

Example of if statement

#include <stdio.h>
int main()
{
    int x = 20;
    int y = 22;
    if (x<y)
    {
        printf("Variable x is less than y");
    }
    return 0;
}
Output:
Variable x is less than y

Comments

Post a Comment