C Language
#include<stdio.h> #include<conio.h> void main ( ) { int a, b; clrscr( ); printf("Enter Two Numbers = "); scanf("%d%d" , &a, &b) ; ); a>b?printf ("a is Greater") : printf ("b is Greater"); getch(); } /*OUTPUT*/ Enter Two Numbers = 10 20 b is Greater