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]
3 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]3 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
Compute the approximate acceleration of gravity for an object above the earth's surface, assigning accel_gravity with the result
Zepler [3.9K]

Answer:

The summary of the given query would be summarized throughout the below segment. The output of the question is attached below.

Explanation:

Given values are:

  • G = 6.673e-11
  • M = 5.98e24
  • accel \ gravity = 0
  • dist\ center=float(inp())

here,

inp = input

By utilizing the below formula, we get

⇒ \frac{GM}{d^2}

Now,

⇒ accel \ gravity=\frac{G\times M}{dist \ center**2}

⇒ print("Acceleration of gravity: {:.2f}".format(accel_gravity))

6 0
3 years ago
Quick!!!!!
Vlad [161]

Answer:

B. the current affairs page

Explanation:

it's a simple question

8 0
4 years ago
Read 2 more answers
Explain how the use of the internet has allowed people to achieve some
zubka84 [21]

I don't know if this is going to help you or not because I'm only 13 but let me know if it helps people can now talk to one another more effectively because of things like zoom and it's become more efficient to work at home because we can have online meetings

5 0
3 years ago
You can specify a column width of 0 to ____________.
Sergeeva-Olga [200]

Answer:

255

hope this helps! ^^

4 0
3 years ago
Read 2 more answers
PLATO
Natasha2012 [34]

Answer:

is it just a blank or does it have choices?

5 0
3 years ago
Read 2 more answers
Other questions:
  • based on the transcript, what did broadcasting the story through the medium of radio allow welles to do?
    8·1 answer
  • What can help prevent issues related to downloading content from the internet
    5·1 answer
  • The length, height, and width of a cube are 10, 7, and 5 cm respectively. Write a program that calculates the volume, perimeter,
    9·1 answer
  • __________ is when a person feels compelled to acquire and abuse a drug despite the harm it causes him or her personally, and de
    14·1 answer
  • Which of the following are not deducted on a typical pay stub
    12·1 answer
  • Implement the function is_maxheap which takes a list of integers and returns True if the list represents a valid max-heap, and F
    6·1 answer
  • A ______ or workstation computer is typically used by one or a small number of people to perform everyday productivity tasks, su
    10·1 answer
  • Information systems include all of these
    5·1 answer
  • Consider the following code: x = 9 y = -2 z = 2 print (x + y * z) What is output? 9 13 14 5
    5·1 answer
  • How to turn off microsoft teams message notifications
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!