I have even gone to the study groups but I\'m still not grasping it. Oh, please
ID: 3625861 • Letter: I
Question
I have even gone to the study groups but I'm still not grasping it. Oh, please help!Write a program with a loop that lets the user enter a series of integers followed by -99 to signal the end of the series. After all of the numbers have been entered, the program should display the largest and smallest numbers entered (NOT including the -99).
Declare appropriate data types with descriptive names.
Approach:
Identify [1] the input(s), [2] the processing and [3] the output and write pseudocode for this program. Check each step in the pseudo code to make sure they are complete and that the relationships (order) of the steps are correct.
Explanation / Answer
please rate - thanks
again--everyone does pseudocode differently
integer number min, max
enter a number: number
min=number
max=number
loop:
number= -99
yes: output largest number is max
smallest number is min
end program
no: number > max
yes: set max to number
number<min
yes: set min to number
enter a number: number
go to loop
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.