I tried this but it did not work.
if( x > y) {
if(x > z) {
printf("Largest: %d\n", x);
}
}
I did get the && to work if I were to use that though.
if ( x>y && x>z ){
printf( "Largest: %d\n", x);
}
if ( y>x && y>z ){
printf( "Largest: %d\n", y);
}
if ( z>y && z>x ){
printf( "Largest: %d\n", z);
}