Question: I know for sure I did something wrong. I a m sorry to bother. 3.23 (Find the Largest Number) The process of finding the largest


I know for sure I did something wrong. I am sorry to bother.
3.23 (Find the Largest Number) The process of finding the largest number (i.e., the maximum of a group of numbers) is used frequently in computer applications. For example, a program that determines the winner of a sales contest would input the number of units sold by each salesperson. The salesperson who sells the most units wins the contest. Write a pseudocode program and then a program that inputs a series of 10 non-negative numbers and determines and prints the largest of the numbers. [Hint: Your program should use three variables as shown below.] counter: A counter to count to 10 (i.e., to keep track of how many numbers have been input and to determine when all 10 numbers have been processed) number: The current number input to the program largest: The largest number found so far Note that the names of the variables you use don't have the match the above of course. SAMPLE RUN #4: /largest_number Show Highlighted Only Interactive Session Hide Invisibles Highlight: None Enter a non-negative integer number: 1230. Enter a non-negative integer number:492509. Enter a non-negative integer number:2435. Enter.a. non-negative integer number: 3249084. Enter.a. non-negative integer number: 183109065. Enter a non-negative integer number: 3432094. Enter a non-negative integer number: 49084024. Enter a non-negative integer number: 193240702. Enter a non-negative integer number:312079048. Enter a non-negative integer . number: 277022157. The largest number .entered was: 312079048. SUBMIT x 2 of 2: 2020-02-08 18:10:57 - W 1 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
