Thursday, August 27, 2020

if, else if, else

if (x<y)
{
printf("x is less than y\n");
}
else if (x>y)
{
printf("x is greater than y\n");
}
else
{
printf("x is equal to y\n");
}

No comments:

Post a Comment