#include<stdio.h>
#include<conio.h>
main()
{ int a,b,c;
clrscr();
printf(" \ n Enter the values for a, b and c =");
scanf("%d%d%d",&a,&b,&c);
(a>b)? (a<c)?printf("%d is largest",a): printf("%d is largest ",c):(b>c)?printf("%d is largest",b):printf("%d is largest",c);
getch();
}
/* Output :--
Enter the values for a, b and c =34
89
78
50 is largest
*/
💬💭👇👍😊
No comments:
Post a Comment
This Blog helps you to learn basics to high level programming coding and practicals.
conceptual understanding