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
TEA [102]
3 years ago
15

When you use a while loop to compute the product of several values, you should initialize the variables holding the product to _

_____ .
a. 0

b. 1

c. NULL

d. there is no need to initalize it
Computers and Technology
1 answer:
Allushta [10]3 years ago
3 0

Answer:

b.1

Explanation:

When we are using while loop to compute the product of several values we need to initialize the value holding the product to 1 because when we multiply something with 1 it will give the same number.

If we initialize it with 0 the product will come out to be 0 because  anything multiplied by 0 is 0.

we cannot initialize it with NULL because it is not a pointer.

We need to initialize the number since it contains garbage values so it will give product with that value.

You might be interested in
Write a program that converts or calculates values. Use the following guidelines to write your program:
Reil [10]
Its easy just think of the program it’s a
5 0
4 years ago
PLEASE IM IN AN EXAM I NEED HELP ASAPPP<br> (Appshed question)
Anika [276]
Home Screen with pop up so it’s the first one
6 0
3 years ago
Read 2 more answers
Most job applications are online. true or false
Sonja [21]

Answer:

True

Explanation:

4 0
3 years ago
Select the protocol data units.
Masja [62]

Answer: 4. Data 2. segment  7.packet 3.frame  1.bit

Explanation:

3 0
3 years ago
Read 2 more answers
. A search engine is a way to
Sindrei [870]
<span>Option A, the search engine is the way to get information on the internet through a web browser, installed on an operating system of a computer. It is software that gathers all the information and stores it to accelerate the search for the users by entering the data of the desired information.</span>
8 0
4 years ago
Read 2 more answers
Other questions:
  • Ann, a user, reports that she is no longer able to access any network resources. Upon further investigation, a technician notice
    8·1 answer
  • How do i set up a RAID 1 array?​
    6·1 answer
  • Computer security:
    15·1 answer
  • Choose the list of the best uses for word processing software.
    5·1 answer
  • . A double is more precise than a float... true or false?
    12·1 answer
  • Which of the following “invisible” marks represents an inserted tab?
    11·2 answers
  • Malcolm Movers charges a base rate of $200 per move plus $150 per hour and $2 per mile. Write a program named MoveEstimator that
    5·1 answer
  • Desirable workplace habits and skills include:
    14·1 answer
  • Chris is working with other employees on a worksheet. The other employees have made comments, but they are not visible.
    11·1 answer
  • A time management tool in a help desk software package probably has the greatest impact on the productivity of _____.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!