#include <stdio.h>
#include <conio.h>
void main()
{
int a,b,c;
clrscr();
printf("Enter the A number : ");
scanf("%d",&a);
printf("Enter the A number : ");
scanf("%d",&b);
printf("Enter the C number : ");
scanf("%d",&c);
if(a>b)
{
if(a>c)
{
printf("A is the greatest Number.");
}
}
else
{
if(b>c)
{
printf("B is the greatest Number.");
}
else
{
printf("C is the greatest Number.");
}
}
getch();
}
0 comments:
Post a Comment