#include <stdio.h>
#include<conio.h>
int main( )
{
int a, b;
printf("Enter the number for a:");
scanf("%d", &a);
printf("Enter the number for b");
scanf("%d", &b);
if (a>b)
{
printf("a is greater than b\n");
}
if (a<b)
{
printf("a is less than b\n");
}
if (a==b)
{
printf("a is equal to b\n");
}
getch( );
return 0;
}
To run:


No comments:
Post a Comment
theengineerschoice01@gmail.com