Question: Condition: if...else, if and while statement only . 8. Write a C++ program that reads a positive integer user input n and then that reads
Condition: if...else, if and while statement only .

8. Write a C++ program that reads a positive integer user input n and then that reads n user input integers and finally prints the maximum of all the n user input integers. Assume the user input value for n is positive. For example ifthe value of n is 5 and the numbers are -9, - 3, -7, 2, -6 then your program must print the maximum value is -2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
