Ternary Operator
A conditional operator is also known as ternary operator [exp ? true : false] which can be used to make an either-or choice. Write a C++ program to get a number from the user and find out whether it is odd or even.
INPUT & OUTPUT FORMAT:
The input is an integer denoting the given number.
If the given number is even, print "Even". Otherwise, print "Odd".
SAMPLE INPUT & OUTPUT:
5
Odd
Answers
Answered by
0
Answer:
why life is possible on biosphere only.(200words)why life is possible on biosphere only.(200words)
Explanation:
why life is possible on biosphere only.(200words)why life is possible on biosphere only.(200words)
Similar questions