#include<stdio.h>
void main()
{
int a,b,c;
printf("Enter the Three Number:\n");
printf("First Number:");
scanf("%d",&a);
printf("Second Number:");
scanf("%d",&b);
printf("Third Number:");
scanf("%d",&c);
if((a>b)&&(a>c))
printf("\n%d is greatest than other two's.",a);
else if((b>a)&&(b>c))
printf("\n%d is greatest than other two's.",b);
else
printf("\n%d is greatest than other two's.",c);
}
OutPut---->
No comments:
Post a Comment