Question: Write a C++ program that prompts for and reads in three integers one at a time. The program will then determine the greatest odd number

Write a C++ program that prompts for and reads in three integers one at a time. The program will then determine the greatest odd number ( a number that is not evenly divisible by 2) and then display it. If none of the input numbers are odd then the program displays a message indicating that there were no odd numbers.

Rubric: 1- Code compiles

1- Code is commented

1- Code is properly indented to show the flow of decisions

1- Code detects largest odd number

1- Code detects if there are no odd numbers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!