C Program To Find Greatest Number Among Three

Greatest number among the three number

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c,big;
printf("Enter the three number a,b,c");
scanf("%d%d%d",&a,&b,&c);
big= (a>b)?((a>c)?a:c):((c>b)?c:b);
printf("The largest number is:%d",big);
getch();
}

_____________________________________________


Comments

Popular posts from this blog

How To Hack Wifi | Hack Wifi Password | TECH WORTH MIND

Remove Tools From Termux | How can I reopen the installed tool in termux? | TECH WORTHY MIND