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
otez555 [7]
3 years ago
5

Write a program that accepts three decimal numbers as input and outputs their sums?​

Computers and Technology
1 answer:
coldgirl [10]3 years ago
5 0

Answer:

The answer to this question is given below in the explanation section

Explanation:

The code is written in C++ language:

// Example program

#include <iostream>

#include <string>

using namespace std;

int main()

{

 double number [3];

 double addition=0;

 for (int i=0;i<3;i++)

 {

     cout<<"Enter decimal number at position " <<i+1< " ";

     cin>>number[i];

     addition= addition+ number[i];

           

     }

 cout<<"The addition is "<<addition;

}

You might be interested in
How do you report someone on Brainly?
morpeh [17]

Answer:

dont think u can actually report someone, pero u can report their questions/answers by clicking on the little flag icon and selecting why u want to report them. if they get reported enough they can be banned for about a day or so,, or they could get permanently banned

Explanation:

4 0
4 years ago
How many different bit strings are there of length 6 that contain the string 0000?
Elena L [17]

Answer:

It can be 100001, 100000,000001,000000

Hence, answer is 4.

its also can be found through 2C2 *2 = 2!/0! *2 =2*2 =4

Explanation:

The answer is straight forward, we have 2 empty places and we can select from 2 items, and hence its 2C2, and now we can arrange them as well, and since we can arrange in 2 ways, hence a total number of possibility = 2 * 2C2 = 4, which is the required answer.

5 0
3 years ago
Suppose you are implementing the address book feature for a cellphone. The address book needs to be kept sorted by person’s last
NemiM [27]

Answer:

Sorted linked list

Explanation:

  • A sorted linked list can be used for sorting the last name and support fast access while queried by the last name.
  • The hash table cannot be used because it could have a problem if there would be more buckets to handle than the expected.
  • The binary search table is implemented as the hash table hence both will give the same results.
8 0
3 years ago
Which tab on the format cells dialog box enables you to lock these cells?
NemiM [27]

Answer:

Protection Check Box

Explanation:

in Microsoft Excel, in Home tab, select Format cells from launcher, select Protection Tab, then select Lock check box.

7 0
3 years ago
Can anybody answer this
Mumz [18]

Answer:

The answer should be C. I, II, IV

3 0
3 years ago
Other questions:
  • We observe diffusion in nature and in our technology on a daily basis, but seldom stop to think about the physical process behin
    8·1 answer
  • Stella is a bank executive. She is preparing a spreadsheet on the loan repayment schedules of customers. Which function can she
    9·1 answer
  • You want to make it possible for your smartphone to share its internet access wirelessly with your friends device which of the f
    10·1 answer
  • Web browsers are used to browse the World Wide Web. <br> True or false
    11·2 answers
  • Which of the following is the last step in creating a budget?
    13·1 answer
  • Enter a character: * ASCII #42 Enter a character: exit Not a character
    7·1 answer
  • Select three areas that should be included in a contract consultant’s business expense model.
    11·1 answer
  • BST
    13·1 answer
  • Which protocol is responsible for transporting files between a client and a server?
    14·2 answers
  • Need help completing this coding assignment.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!