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
Ainat [17]
2 years ago
12

Write a program that takes 10 random numbers from 1 to 12 inclusively and averages them together. (IN PSEUDO CODE)

Computers and Technology
1 answer:
poizon [28]2 years ago
8 0

Answer:

DECLARE number

SET total to 0

SET average to 0

FOR i=1 to 10

   SET number to a random number between 1 to 12

   COMPUTE total += number

END FOR

COMPUTE average = total / 10

PRINT average

Explanation:

Declare number

Initialize the total and average

Create a for loop that iterates 10 times. Inside the loop, generate a random  number between 1 to 12 and set it to the number variable

Add the number to the total (cumulative sum)

When the loop is done, calculate the average - divide the total by 10

Print the average

You might be interested in
Adding Web pages helps Web designers ___. Choose all answers that are correct.
ss7ja [257]

Answer:

B

Explanation:

7 0
3 years ago
Help me with the question please..​
PIT_PIT [208]

First addition, then division

4 0
2 years ago
whenever I try to make an account it says it can't sign me up at this time or something- can you help?-
Rus_ich [418]

Answer:

You can try emailing tech support and describing your issue. In order to get the best help as quickly as possible, try providing screenshots of what happens when you sign in or describe everything you see on the screen when the problem occurs, and quote error messages directly when possible.

5 0
3 years ago
The ___ are documents which uses http ?
givi [52]
The HTML is the answer
5 0
3 years ago
legacy application that has hard-coded static IP addresses and is running on an EC2 instance, what is the best failover solution
AlladinOne [14]

Answer:

Elastic IP address

Explanation:

Elastic IP addresses are static, persistent public IP addresses which can be associated and disassociated with the instance, as required.

This will provide the best failover solution that will keep same IP address on a new instance.

6 0
3 years ago
Other questions:
  • Type the correct answer in the box. Spell all words correctly.
    9·1 answer
  • Explain three applications of data mining
    14·1 answer
  • Which of the following attributes of a website indicates a more reliable source for information?
    8·1 answer
  • Write the following arithmetic expression as a valid C arithmetic expression: x = x + number
    9·1 answer
  • If you tap or click the increase font size button too many times and make the font size too big, you can tap or click the _____
    9·1 answer
  • Which of these is NOT a standard part of the outro of a podcast?
    15·1 answer
  • I'm trying to move the figure a little away from, the column line and every time I move it and click ok it goes back to being be
    11·1 answer
  • A group of users in a small publishing office want to share large image files in a common folder with high availability. Which o
    15·1 answer
  • A researcher is interested in learning more about the different kinds of plants growing in different areas of the state she live
    8·1 answer
  • Which is true for comments? Group of answer choices The compiler does not generate machine code for comments. The compiler conve
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!