Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators.
printf("Enter any three numbers :- \n");
num = (n1>n2) && (n1>n3)?n1:(n2>n1) && (n2>n3)?n2:n3;
printf("%d is the greatest number among all.",num);
Amit Ranjan is from Sitamarhi. He completed his BCA from S.R.K.G college, Sitamarhi. Now he is currently working in Finesse WebTech as Online Marketing Executive. He love listening music, watching movies, net surfing and sketching in his free times.