Odd-even program using ternary-operator
#include<stdio.h>;
void main()
{
int number;
printf("Enter Your Number :");
scanf("%d",&number);
number%2==0 ? printf("Enterd number is EVEN") : printf("Enterd number is ODD");
}
// now you know how to use ternary-operator so build some more program on it at home.
// PASTE THE OUTPUT IN COMMENT BOX.