jcrowley7883 jcrowley7883
  • 11-03-2022
  • Computers and Technology
contestada

Write a pseudocode for the logic of a program that accepts five numbers from a user and displays one of the following messages:- The largest number is xx. The smallest number is xx

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 17-03-2022

The pseudocode of a program is used as a prototype of the program

How to write the pseudocode

The pseudocode of the program is as follows:

  1. Counter = 1
  2. Input num
  3. Min = num
  4. Max = num
  5. // Input remaining 4 numbers
  6. do {
  7. Counter = Counter + 1
  8. Input num
  9. If (num < Min) { Min = num }
  10. if (num > Max)  {Max = num}
  11.  }
  12. while (counter < 5)
  13. Print Min, Max
  14. End

Read more about pseudocode at:

https://brainly.com/question/24735155

Answer Link

Otras preguntas

I need this please help me
Heyy can somebody draw this please??​
10 points for each question please show work
I NEED HELP RIGHT NOW PLS!!
NEED ASWER FAST !!! The equation below represents the main ingredients a vendor uses to make the double cheeseburgers he sells. 1 bun + 2 hamburger patties + 2
Write 2 1/6 feet as a single fraction greater than one.
Match the terms to their definition. 1. constructive a process in which the edge of one crustal plate sinks below the edge of another 2. delta thick soil accumu
PLEASE HELP!!!!!!!!!!!!!!!!!
How has ancient Chinese canal locks impacted modern day?
Find the image of the given point under the given translation. PLEASE HELP! WILL GIVE BRAINLIEST ANSWER !!!