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]
3 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]3 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
Which statement describes the relationship between science and technology?
Elden [556K]
Answer: science is the study of the world, and technology changes the world to solve problems.
3 0
2 years ago
Read 2 more answers
Who plays warzone im a roze sweat and ill try to carry with loadout
alexira [117]

Answer:

I type play warzone- If u wanna add me my user is Chachee_Girl. Dont ask- and im on ps5

8 0
2 years ago
Which of the following internet protocols is used to request and send pages and files on the World Wide Web
Marianna [84]

it is . org Explanation:

7 0
2 years ago
What is an example of the most important role of a systems analyst in any corporation?
dsp73

Answer: The system analyst is one of the most important members in any organisation. These system analyst has to analyse different data of the organisation which would help to bring out the different any new business policy changes or any kind of improvement.

Explanation:

An example to know this better would be the system analyst of a telecom company. Here the role of the system analyst would be bring out the design and implementation of new telecom information system and also should be aware of previous data of the organization. The system analyst would also be responsible to bring out the new business policies based on latest telecom standards and ensure the systems conforms to the latest standards.

5 0
3 years ago
What is the internet?
aliya0001 [1]
What you're currently on. or a global computer network providing a variety of information and communication facilities, consisting of interconnected networks using standardized communication protocols.
7 0
3 years ago
Read 2 more answers
Other questions:
  • 1).
    12·1 answer
  • What ipconfig command line option can be used to delete cached dns information from memory?​?
    9·1 answer
  • Anyone wanna play among us UwU code is TAEQPQ
    15·2 answers
  • What is a fax machine used for
    9·1 answer
  • What is unique about the TODAY and NOW functions?
    15·2 answers
  • All computer systems have
    14·2 answers
  • Which of the following statements best reflects the pros and cons of overtime potential for a line installer or repairer?
    15·1 answer
  • What is Microsoft marketing ?
    10·1 answer
  • Class C Airspace inner ring begins at the __________ and extends vertically (by definition) to MSL charted values that generally
    5·1 answer
  • Which code snippet is the correct way to rewrite this in Semantic HTML?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!