#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
clrscr();
printf(“enter the 2 numbers”);
scanf(“%d%d”,&a,&b);
(a>b?printf(“a is greater”):printf(“b is greater”));
getch();
}
Output:
enter the two numbers
6
3
a is greater
Free C programs with output, C++ (C plus plus), programs c programming language, object oriented programming, c programs codes, c program shortcuts, history of c programming language, c programming compilers