Q25 Write a c program to find the greatest of the three numbers entered through the keyboard. Use conditional operators.

Program: 93

Write a c program to find the greatest of the three numbers entered through the keyboard. Use conditional operators.

(expression_1 ? expression_2 : expression_3)

Output:

 Enter 1st Number: 100
 Enter 2nd Number: 2104
 Enter 3rd Number: 82
 Greatest Number is 2104

Lokesh Kumar

Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.