#include"stdio.h"
void main()
{
int a,b;
printf("Enter the first number \n";
scanf("%d",&a);
printf("Enter the second number \n");
scanf("%d",&b);
if(a>b)
{
printf("\n %d is greater",a);
}
else
{
printf("\n %d is greater",b);
}
getch();
}
Jun 2, 2012
#2 - Greatest Of Two Numbers [C]
Labels:
C
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment