#include<stdio.h>
int main() {
int x,y;
printf("ENTER THE NUMBERS\n");
scanf("%d %d",&x,&y);
if(x>y)
{printf("THE NUMBER ENTERED FIRST IS GREATER THAN THE SECOND ie %d\n",x);
}
if (y>x)
{printf("THE NUMBER ENTERED SECOND IS GREATER THAN THE FIRST ie %d\n",y);
}
return 0;
}
Have a Read!
Hi Everyone.
The idea for this page is to provide new c users simple c tutorials to learn how to develop the logic and more importantly correct way to write syntax.
ENJOY !!!
Tuesday, January 25, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment