Sunday, November 28, 2010

Write a program to find out biggest number out of three numbers?

#include

#include

main()

{

int a,b,c;

printf("Enter any three numbers:");

scanf("%d%d%d", &a,&b,&c);

if((a>b) && (a>c))

printf ("The big number : %d", a);

else if(b>c)

printf("The big number : %d", b);

else

printf("The big number : %d", c);

getch();

}