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
Which of the following represent emerging classes of application software? Check all of the boxes that apply.
soldi70 [24.7K]
Word processing and databases are the most common type of application software. In this case, application software, often called productivity programs, are programs designed to specifically attain specific tasks such as creating documents, databases, sending email, designing graphics and even playing games. A mobile app is also an emerging type of application software designed to run on portable devices like mobiles and PDAs. To some extent, email software is an application software since it can also be distinguished on the basis of usage.






7 0
4 years ago
Read 3 more answers
Which of the following is not a type of user account? A. Administrator b. Guest c. Group d. Standard
Arlecino [84]
I've never heard of a group account so I'm going with.
C. Group
5 0
4 years ago
Essay about evolution of media shaped the values and norms of the society
snow_lady [41]

Answer:

Find the essay below.

Explanation:

Media refers to the several ways in which information is communicated to people in mass. Some channels through which such pieces of information are conveyed include; the newspapers, internet, television. The advent of media can be traced backed to the 15th century when the first printing press was produced by Johannes Gutenberg. This enabled the typing of books and newspapers which could reach a farther audience. The radio which is an important means of communication was invented early on in the 20th century and the first electronic television was invented in 1927. In recent times, the advent of the internet has made mass communication even much easier.

Prior to the evolution of media, communication to a large group of people was not easy and fast as we have it today. Communities gathered in their numbers to get information from a source. Emissaries were sent to deliver letters across great distances.

Today, a lot of changes have come along with the media which have also affected the values and norms in society. In African society, for example, styles of dressings have changed as trendy styles from the western world that are promoted by the media, have been adopted. Beliefs and ideologies which were mainly superstitious have been enhanced through the media to become more rational. Religion has also been affected as the traditional religions are not widely practiced while Christianity and Islam which find wide coverage in the media have been adopted. All of these give credence to the fact that media has shaped the values and norms in many societies.

4 0
3 years ago
Give two reasons why it is important to upgrade your browser when a new version becomes available.
kupik [55]
1. Higher speed
2. New features
3. Less bugs
4. Upgrades
4 0
3 years ago
Look at the following Python code:
aliya0001 [1]

Ump will be assigned to word2

word1[0:3] gets all of the letters from index 0 to index 3 exclusive (that means index 3 is not included)

4 0
3 years ago
Other questions:
  • What was the second phone?
    14·1 answer
  • Field names should NOT start with a(n) -<br> hyphen (-)<br> Oa<br> asterisk (*)<br> space()
    8·1 answer
  • Help please fast
    6·2 answers
  • Which of the following people was a member of FFA?
    7·1 answer
  • In a meeting, Juan hears someone say a product mix is "wide." What does
    13·1 answer
  • What is displayed on the console when running the following program? class Test { public static void main(String[] args) { try {
    10·1 answer
  • You are an IT technician at your company. The company has two small offices in different cities. The company's head office conta
    5·1 answer
  • Taking a group of recipes and identifying the similarities is an example of _____.
    13·1 answer
  • How many passes will it take to find the five in this list?
    14·2 answers
  • Type the correct answer in the box
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!