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
You can choose to use a window manager only, and not use a desktop manager.
egoroff_w [7]
This seems more of a statement then a question if theres more id like to help
6 0
3 years ago
Read 2 more answers
List three functions that you can perform with a database that you cannot perform with a spreadsheet.
Delicious77 [7]
There are some function which can be performed with database but not with a spread sheet, these functions include: 
1. Enforcement of data type.
2. Support for self documentation.
3. Defining the relationship among constraints in order to ensure consistency of data.
5 0
3 years ago
When making programmed decisions, the information needed to make this decision is __________, and the problem is highly structur
pentagon [3]

Answer:

readily available

Explanation:

The information needed to make this decision is readily available. That is because such decisions have been made countless times that strict guidelines have been created to handle any similar future decisions. These strict guidelines are organized as a sequence of events that must be followed accordingly and are always available for when the situation arises. Examples of this would be "What to do when a machine breaks?" or "What constitutes firing an employee?"

7 0
3 years ago
An input value has to be greater than 18 and less than 65 if a driving license is to be approved for issue. What type of input c
katrin2010 [14]

Answer:

You should use an "if" statement to check whether the number is greater than 18 or less than 65.

Explanation:

You usually use "if" statements whenever you want to compare a number to another. Keep in mind that "if" statements are not only used for comparison!

4 0
3 years ago
24 3 Ans a. Define the term computer hardware. b. C. What are input devices? List any two input devices. What is processing devi
marysya [2.9K]

Explanation:

hardware are the physical parts of the computer which can be touched seen and felt is called hardware.

the device which are use to inter data and instructions from the user is clawed input device. foreg; keyboard , mouse.

the processing device of computer is cpu

the printed information which can be touched and seen is Called hardcopy .

soft copy are which can be seen but not touched is called soft copy .

the device that are use to store data and instructions is called storage devices.

8 0
2 years ago
Other questions:
  • Your boss wants to utilize some sort of cloud storage for his files so that all of his
    10·2 answers
  • Which statement is NOT true:
    9·1 answer
  • The optional feature in a business letter is
    10·1 answer
  • There is an application which inputs hundred numbers from the user, if user enters a positive number it increments valid numbers
    6·1 answer
  • Which device makes computers that are connected to separate segments appear and behave as if they're on the same segment? (Pleas
    11·1 answer
  • Which network media uses different regions of the electromagnetic spectrum to transmit signals through air?
    13·1 answer
  • In Java; Given numRows and numColumns, print a list of all seats in a theater. Rows are numbered, columns lettered, as in 1A or
    10·1 answer
  • Which operating system is a version of Linux?​
    13·1 answer
  • Therapeutic services pays less than most other careers.<br><br><br> 1) True<br> 2) False
    12·2 answers
  • Match the components of a blog to their descriptions.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!