Program to input three numbers and find Biggest of them

#include<stdio.h>
#include<conio.h>
void main()
{
int x,y,z;
clrscr();
printf("\nEnter x");
scanf("%d",&x);
printf("\nEnter y");
scanf("%d",&y);
printf("\nEnter z");
scanf("%d",&z);
if (x>y & x>z)
{
printf("\nx is Big");
}
else if (y>x & y>z)
{
printf("\ny is Big");
}
else
{
printf("\nZ is Big");
}
getch();
}

Leave a Reply