1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ElenaW [278]
2 years ago
8

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
Computers and Technology
1 answer:
Vadim26 [7]2 years ago
3 0

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

<h3>How to write the pseudocode </h3>

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:

brainly.com/question/24735155

You might be interested in
How is a website most likely to distinguish its different sections?
Jlenok [28]

Answer:

D. by using different background colors for different sections​

Explanation:

This can help people differentiate the different sections of your webpage.

Hope this helps!

4 0
3 years ago
In your own words, explain the FNAF timeline
tatiyna

Answer:

see shawty problem is, I havent had that phase yet, my cousin would be able to answer this tho

3 0
3 years ago
Are brake and break pronounced the same way?​
erastova [34]

Answer:

one is correct and yes

Explanation:

4 0
3 years ago
The kitchen in any café is a noisy place. To make sure the orders which you have carefully written down on your notepad make it
Levart [38]

Answer:

file_name = 'orders.txt'

file_obj = open( file_name, 'r' )

lines = file_obj.read()

print(lines.upper(), end = '')

Explanation:

  • Define the name of the file .
  • Use the built-in open function to open the file in read mode .
  • Use the built-in read function to read the file and assign this to lines variable.
  • Finally display the lines by converting them to capital alphabets by using the built-in upper() function.
5 0
3 years ago
How would you create a loop that never ends?
34kurt

Answer:

the answer is d use the forever block

Explanation:

I took the test and I got it right but sometimes it is different for others

8 0
2 years ago
Other questions:
  • What's another name for the Super High shot, if you shot it on the ground using a tripod?
    14·1 answer
  • Which is a benefit of owning a desktop computer instead of a laptop?
    13·2 answers
  • Consider the following statements: #include #include class Temporary { private: string description; double first; double second;
    9·1 answer
  • Blank determines the overall brightness or darkness of an entire image
    5·1 answer
  • Write a calculator program that keeps track of a subtotal like real calculators do. Start by asking the user for an initial numb
    12·1 answer
  • Presentation graphics programs contain an assortment of tools and operations for creating and editing slides, including preforma
    8·2 answers
  • Write a Python program that prints all the numbers from 0 to 6 except 3
    8·1 answer
  • How you use ict today and how will you use it tomorrow
    14·1 answer
  • If you need assistance or have questions related to your sevis record, i-20, admission, or course registration which phone numbe
    5·1 answer
  • If you anticipate running a particular query often, you can improve overall performance by saving the query in a special file ca
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!