​#include<iostream.h>

#include<conio.h>

main()

{

int x,y,z;

cout<<“Enter any three numbers”;

cin>>x>>y>>z;

if(x>y && x>z)

cout<<“x is greater”;

else

if(y>x &&y>z)

cout<<“y is greater”;

else

if(z>x &&z>y)

cout<<“z is greater “;

getch();

}

Advertisements