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
barxatty [35]
2 years ago
14

Loren Truesdale

Computers and Technology
1 answer:
LuckyWell [14K]2 years ago
7 0

The output printed by the code is 18

<h3>The Code Analysis</h3>

The flow of the program is as follows:

  • The first line initializes a list of numbers named values
  • The second line initializes fred to 0
  • The third line is an iteration that is repeated for all numbers in the list
  • The next statement is a conditional statement that ensures that all 9's in the list are added, and saved in fred

<h3>The Code Computation</h3>

Recall that, the initial value of fred is 0, and there are 2 9's in the list.

So, the computation is:

fred=0 + 9 + 9

fred=18

This means that, the last instruction on line 10 will display 18, as the output

Hence, the output printed by the code is 18

Read more about algorithms at:

brainly.com/question/11623795

You might be interested in
What is computer fundamental ?
dimaraw [331]

Answer:

It is derived from the Latin word "computare" which means to calculate. Our Computer fundamentals tutorial includes all topics of Computer fundamentals such as input devices, output devices, memory, CPU, motherboard, computer network, virus, software, hardware etc

7 0
1 year ago
You recently started working part-time in a retail store, and are learning about the reading devices your store uses. Your store
sleet_krkn [62]

Answer:

QR code

Explanation:

QR Code. Short for quick response code, which can also be called 2-D bar code, a QR code is a type of two-dimensional (2D) barcode that are read with the aid of a QR barcode reader or a camera-enabled smartphone with an inbuilt or installed QR reader software.

A QR code is capable of carrying information in both the vertical and the horizontal direction, which is the reason behind the name 2D barcode.

3 0
3 years ago
Which of the following is a real job title on The interactive media career pathway?
Serhud [2]

Answer:

The right answer is A

Explanation:

Plzzzzzzzzzzzzz give me brainiest

4 0
2 years ago
Read 2 more answers
NEED HELP RIGHT NOW!!! Which of the following is the definition of a privacy policy? * 5 points - A legal document that an app o
Marina86 [1]

Answer:

A legal document that an app or a website must provide to describe the rules the company and users must obey when they use the app.

6 0
3 years ago
5.2
Ray Of Light [21]

Answer:

In order to reduce the risk of accidents on the roads.

Explanation:

The special equipment is used when  testing eyesight for a driver's license in order to reduce the risk of accidents on the roads. Good eyesight is very important for good and safe driving so to find out the eyesight of the driver, the license officer used special equipment in order to check driver's eyes. If the eyesight is good, the officer provide license to the person otherwise not so that no accidents happen on the road.

8 0
2 years ago
Other questions:
  • What is a main cause of a virus on a computer
    6·1 answer
  • HELP! ASAP I KNOW IT'S QUITE A HANDFUL BUT I NEED THIS ANSWER!!
    10·1 answer
  • What happens when a flash memory card is installed in a slot and it is recognized by windows?
    6·1 answer
  • Which statement is true about the purpose of a work in process constraint?
    15·1 answer
  • Which of the following is a benefit, as well as a risk, associated with peer-to-peer networks?
    6·2 answers
  • While the names for Web addresses, or URLs, are not case-sensitive, the names for files you create for the Web are. 
    11·1 answer
  • By convention only, either the first usable address or the last usable address in a network is assigned to the router (gateway)
    11·1 answer
  • It is a minor cereal of importance only in West Africa where it is eaten in place of rice during during famines. Used for salads
    10·1 answer
  • How do I install another part on campaign call of duty cold war? please help.(best answer will get branliest.)
    15·2 answers
  • Will this website ever get itself together to stop people from sending links?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!