#include <stdio.h> int main (void) { int x,y,z,max; printf ("Please three digit:\n"); scanf ("%i%i%i",&x,&y,&z); printf ("Max digit is:%i\n",(x>y?(x>z?x:z):(y>z?y:z))); return 0; }