Hey, i have a big question for you all. ) The process of finding the largest and
ID: 3611582 • Letter: H
Question
Hey, i have a big question for you all.) The process of finding the largest and smallest numbers is used frequently in computer applications.Write a C++ program that uses a while statement to determine and print the largest and the second largestnumber of x integers entered by the user, where x should also be input by the user.Data set Largest1 Largest2======== ======== ========9,9 9 99,9,7 9 79,9,9,9,9,7,8 9 81,1,1,1,8,6 8 6I have no clue on howto start this problem I ALWAYSRATE!!!
) The process of finding the largest and smallest numbers is used frequently in computer applications.Write a C++ program that uses a while statement to determine and print the largest and the second largestnumber of x integers entered by the user, where x should also be input by the user.Data set Largest1 Largest2======== ======== ========9,9 9 99,9,7 9 79,9,9,9,9,7,8 9 81,1,1,1,8,6 8 6I have no clue on howto start this problem I ALWAYSRATE!!! I have no clue on howto start this problem I ALWAYSRATE!!!
Explanation / Answer
Of course, every valid C program is also a valid C++ program. Ifyou want the C++ism, replace scanf and printf with the respective operators. That is really not germaine to theproblem itself.Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.