
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c,d;
clrscr();
printf("The values of a,b and c");
scanf("%d%d%d",&a,&b,&c);
if(a>b)
{
d=a;
}
else
{
d=b;
}
if(c>d)
{
d=c;
}
else
{
d=d;
}
printf("\n Greatest no. is:%d",d);
getch();
}
Where Your Need Ends
About The Author
He has interest in programming in C, C++ and Java. He has been programming since 2007. He is the Founder of "Era of Skills".
You can follow him on Facebook