Find the Greatest of Three Numbers

void main()
int x,y,z;
printf("Enter values of x, y and z : ");
if(x>=y && x>=z)
printf("\n%d is greatest",x);
else if(y>=z)
printf("\n%d is greatest",y);
printf("\n%d is greatest",z);



Popular posts from this blog

Write a Program to Add two 3x3 Matrix using C

C program for Unit Conversion

Write a Program to Add two 5x5 Matrix using C