Music, asked by khardemadhu1999, 8 months ago

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 nannumol100
0

Answer:

i guess  the answer is true

pls mark as brainliest answer

Similar questions