Computer Science, asked by dawnback123, 2 months ago

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

Answer:

tension is described as the pulling force transmitted axially by the means of a string, a cable, chain, or similar object, or by each end of a rod, truss member, or similar three-dimensional object; tension might also be described as the action-reaction pair of forces acting at each end of said elements.

Similar questions