its use to large in any two number hwz one number is larges by give the user
#include
#include
void main()
{
int a,b,c;
clrscr();
printf("\n\t Enter Any Number \t\t:\t");
scanf("%d",&a);
printf ("\n\t Enter any number \t\t:\t");
scanf ("%d",&b);
c= a>b?a:b;
printf ("\n\tThe largest of two numbers is\t:\t%d",larger);
getch();
}
No comments:
Post a Comment