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

Answers

Answer 1

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;

}


Related Questions

From analysis, Arthur believes the system's I/O throughput will improve by changing the I/O scheduler. On his system is a real-time application, which uses a database located on a solid-state drive. Which I/O scheduler should Arthur choose?

Answers

Since the real-time application uses a database that is located on a solid-state drive, Arthur should use a deadline I/O scheduler.

What is an I/O scheduler?

An I/O scheduler is an abbreviation for input-output scheduler and it can be defined as a technique which is used by the operating system (OS) of a computer to decide the particular order that input-output (I/O) operations are submitted to storage volumes such as solid-state drives.

In this scenario, Arthur should use a deadline I/O scheduler because his real-time application uses a database that is located on a solid-state drive.

Read more on data here: brainly.com/question/13179611

Does Rational database software lets you link multiple tables? Yes or no

Answers

Answer:

yes

Explanation:

i did some research but don't take my word for it and let me know if it wrong

what is the use of form in HTML​

Answers

Answer:

to make the internet faster

Explanation:

becuase it will have a faster act on the computer so the computer could process the information for it later to be used

Explain the four (4) important attributes that all professional software should have. ​

Answers

Answer:

Acceptability, Dependability and Security, Efficiency, and Maintainability.

Explanation:

Acceptability, Dependability and Security, Efficiency, and Maintainability.

Answer:

1. Maintainability

2. Dependability and security

3. Efficiency

4. Acceptability/Usability

Explanation:

Maintainability, dependability and security, efficiency (performance), and acceotability/usability are the four most critical characteristics. Reusability (can it be reused in other applications), distributability (can it be distributed over a network of processors), portability (can it operate on multiple platforms, such as laptop and mobile platforms), and inter-operability (can it communicate with other systems) are all important attributes to consider (can it work with a wide range of other software systems).

ps. i would really appreciate it if you mark me as brainliest:> (i'm trying to reach virtouso) but it's fine if u don't.

hope this helps

Which of the following is NOT true about an entrepreneur?

Answers

Answer:

A. An entrepreneur gets to act as his own boss.

Please give crown award and thanks.

How can we tell the computer both what to put on
the web page, and how to organize it?

Answers

There is only 1 answer. Code. You have to code the web page if you want to put stuff on it/organize it.

We instruct the computer and tell how to organize the web-page through Coding.

Coding in essence, means the language that instruct computer and these are used to develop application, websites, software and so on.

In order to learn how to code, you must follow certain procedure:

Learning the Basics of HTML and Understanding Document Structure Learn about the CSS Selectors Knowing how to put together a CSS Stylesheet etc.

In conclusion, instruction given to computer to organize a Web-page and communication with the system are made possible through coding.

Learn more here

brainly.com/question/19535447

Complete a program that reads a vector index as input and outputs the element of a vector of 10 names at the index specified by the input. Use a try block to output the name and a catch block to catch any out_of_range exceptions. When an out_of_range exception is caught, output the message from the exception object and the first element in the vector if the index is negative or the last element if the index is greater than the size of the vector.

Answers

The program segment is an illustration of the try and catch program exceptions

The complete program

The program segment written in C++, where comments are used to explain each action is as follows:

//This opens the try block

   try{

       //This prints the vector element

       cout<<names[index];

   }

   //This opens the catch block

   catch (const std::out_of_range& oor) {

       //This prints the exception

       cerr << "Out of Range error: " << oor.what() << '\n';

 }

Read more about program segments at:

https://brainly.com/question/11623795

Create a file using any word processing program or text editor. Write an application that displays the fie's name, containing folder, size, and time of last modification. Save the file as FileStatistics.java.

Answers

Answer:

yes

Explanation:

yeah

Which is a software application used to analyze an organization’s data to improve decision making?

Answers

The software application used to analyze an organization’s data to improve decision making is said to be Business intelligence software.

What is Business intelligence?

Business intelligence is known to be a kind of app that has been set up and it is known to have a set of data analysis applications that has been made to meet a lot of information needs.

Business intelligence are known to be a kind of procedural and technical input that takes , stores, and analyzes the data made by a company's activities.

Learn more about Business intelligence from

https://brainly.com/question/13339276

When will a student most likely need to read a text aloud?

when doing homework
when studying for a test
when preparing a speech
when taking notes in class

Answers

Answer:When preparing a speech(c)

Explanation:

Answer:

C. when preparing a speech.

Explanation:

the only answer that makes sense :p

Explain the schema to be followed when solving a dp problem

Answers

Answer:

Every Dynamic Programming problem has a schema to be followed: Show that the problem can be broken down into optimal sub-problems. Recursively define the value of the solution by expressing it in terms of optimal solutions for smaller sub-problems. Compute the value of the optimal solution in bottom-up fashion.

what does receive input mean in coding? I will give brainliest if you want just ask :3 no random answers please. AND HURRY.

Answers

Answer:

It is a way for the codebase to interpret data based off of what a user types or enters in a specified area.

Answer:

to provide or give something to the computer
in other words, when a computer or device is receiving a command or signal from outer sources, the event is referred to as input to the device.

Explanation:

I need help please this computer class.

Answers

Answer:

C

Explanation:

The Correct way of spelling Internet

Is there a parrapa level for stage 1 in umjammer lammy?

Answers

Answer:yes there WAS a parrapa level but it was scrapped from the game I think you can find it in beta versions of the game but

ASAP!
Choose the correct term to complete the sentence.

A _____ search can only be done on an ordered sequence or collection.

Options

1. linear
2. binary​

Answers

the answer is 1. linear



hope this helped! please mark as brainliest!

Answer:it is binary

Explanation:just did the test

a computer never gets tired or bored while working for a long time .. ​

Answers

Answer :Computers never get tired or bored because of doing the same task continuously. They work in the same manner all the time. A computer can store large amount of information in its memory.

Explanation: it is quality which makes the user to be dependent on computer. As we all know, computer systems do repetitive tasks without any boredom, tiredness, or fatigue.

how can a security framework k assist in the deisng and implementation of a secuiry infrastructure what isn information security governance

Answers

Answer:

on January 1st the new year begins rewrite and punctuate correctly

Do you think that Aunt Susan needs more than the normal RDA for protein? Why or why not?

Answers

Answer:

Amanda is a 21-year old college student who is minoring in nutrition. While home on break from college, she eats out one day with her Aunt Susan who is 55 years old.Amanda learns that her aunt has been doing basic strength training with a personal trainer twice a week for the past four months. Aunt Susan tells her that she started doing the strength training not because she wants to be a body builder, but because she wants to get in better shape, have stronger muscles and bones, and improve her balance and coordination.At this point, Aunt Susan definitely feels she is in better shape, and also has been paying more attention to her diet. She tells Amanda that her trainer wants her to eat more protein.

Explanation:

The part of the screen where you write or place code is called the _____.

Answers

Answer:

Screenwriting plz mark me brainliest

Explanation:

Answer:

ground.

Explanation:

im not sure completely. but you above me answered wrong, so this makes most sense.

When creating and modifying templates, which keys are used to add placeholders?
Alt+F9
Shift+F8
Delete+F8
Ctrl+F9

Answers

Answer:

Ctrl + F9

Explanation:

D is the answer to you're question!

Answer:

d

Explanation:

right on edg <3

what’s The abbreviation of afk and what does That Mean in gaming playing in Multiplayer online battle arena games

Answers

Answer:

afk means away from keyboard so if someone says they are going afk it means they have to go for like a couple of minutes or so

What is the name of the menu in the bottom left corner of the windows environment?.

Answers

Answer:

Microsoft Windows Start menu

Suppose that the WEQ scheduling policy is applied to a buffer that supports three classes, and suppose the weights are 0.5, 0.25, and 0.25 for the three classes. Suppose that each class has a large number of packets in the buffer. In what sequence might the three classes be served in order to achieve the WFQ weights?

Answers

Answer:

The WFQ (Weighted Fair Queuing) scheduling is a circular order a round roubin strategy in ascending order depends on weights.

Assume the three classes weights are 0.5, 0.25, and 0.25 respectively.

If same weight have for two or more classes then give highest order is the first preference class.

The sequence order that the three classes served is :1 2 1 3 1 2 1 3….

Another possible sequence order that the three class are: 1 1 2 1 1 3 1 1 2 1 1…

Explanation:

C a n_ I_P l s_H a v e_S u b s_O n_ Y T

Answers

Answer:

Ok

Explanation:

Answer: No

Explanation:

Justin works for an automobile manufacturer. The company is designing a new car that enables the users to use the car as a mobile office. To achieve this, the car must provide an internet connection as an access point, mirror a smartphone screen on the LED dash display, and have a hands-free system where drivers can use voice controls to browse their phone's contact list, make and receive hands-free phone calls, and use navigation apps. Which technology should he use and why

Answers

The best technology that he should use to achieve the desired usage as described is; Bluetooth Technology

What is Bluetooth technology?

Bluetooth is a wireless technology that makes use of short-range RF transmissions.

This method of operation of bluetooth  is to aid users in connecting wirelessly to a wide range of computing and telecommunications devices by providing rapid connections between Bluetooth-enabled devices. Furthermore, Bluetooth provides the ability to mirror screens and use voice controls.

From the design of the new car, the best technology to be used is Bluetooth.

Read more about wireless technology at; https://brainly.com/question/24395331

Dante has a worksheet shared with multiple users. He would like the ability to approve or reject changes that are made. Which feature should he use? Protection Change Tracking Comments Data Consolidation

Answers

Answer:

Data Consolidation.

Explanation:

Answer:

Change tracking.

Explanation:

It's the only one of the options that tracks anything.

What query class will you choose
for this query "women are evil"?

Answers

Answer:

A) Gibberish or Vague Profane

Explanation:

Hope this helps

The query class will you choose for this query "women are evil" is Gibberish or Vague Profane. The correct option is A).

What is a query?

A query might ask your database for data results, a specific action to be taken with the data, or both. A query can add, alter, or remove data from a database, conduct computations, integrate data from other databases, and answer simple questions.

A search for information or a question is what a query is. The phrases inquiry, question, quest, request, and query all derive from the Latin verb quaere, which means "to ask." As follows: SQL queries include select, action, parameter, crosstab, and parameter queries.

Swearing or profanity refers to words that are considered impolite, inappropriate, or objectionable. The adverb is vulgar.

Therefore, the correct option is A) Gibberish or Vague Profane.

To learn more about the query, refer to the link:

https://brainly.com/question/29575174

#SPJ2

The question is incomplete. Your most probably complete question is given below:

A) Gibberish or Vague

Profane

C) Foreign Language

D) Valid

E) None

Conveying an appropriate tone is important when communicating online. How is shouting represented in online communication

Answers

Answer:

very bad because shouting in even some ones ear can cause him not to hear

Write a program in Java programming language to display or calculate “Hello, Daddy and Mum”

Answers

Answer:

class Simple{

public static void main(String args[]){

System.out.println("Hello Daddy and Mum);

}

}

Explanation:

First, we create a class, then a method and then give the Integrated Data Environment (IDE) the command to give out an output that says Hello, Daddy and Mum”

Answer:

public class Program

{

public static void main(String[] args) {

System.out.println("Hello, Daddy and Mum");

}

}

Explanation:

Java is a high level, modern programming language designed in the early 1990s by Sun Microsystems.

The above one is simple program that displays “Hello, Daddy and Mum” on the screen.

In Java, every application begins with a class definition. Here we have named class Program.

The main() method is the entry of the program. A valid Java program must have main() method.

The code prints the text “Hello, Daddy and Mum” using System.out.println() function.

Write a program to construct the first 15 terms of a geometric sequence with initial term 4 and a common ratio 1/2. The output should be a python list and the number should be rounded to 5 digits after the decimal places.

Answers

The program to construct the first 15 terms of a geometric sequence with initial term 4 and a common ratio 1/2 is as follows:

def geometric(a, r):

    list_of_terms = [a]

    length = 0

    n = 2

    while length < 14:

         x = round(a*pow(r, n-1), 5)

         length += 1

         n += 1

         list_of_terms.append(x)

    return list_of_terms

print(geometric(4, 0.5))

Code explanation

The code is written in python.

we defined a function named geometric. The function accept two parameters as a(first term) and r(common ratio).we declared a variable "list_of_terms" and store the first term in it. Then we initialise length to zeroThe number of term start from 2.While the length variable is less than 14, we use the geometric formula to find the terms by increasing the value of n in the loop.We append the terms to list_of_terms.Then return the list_of_terms.Finally, we call the function with the parameters.

learn more on python here: https://brainly.com/question/26949234

Other Questions
Nature Plants require regular nourishment for healthy growth, and gain most of the nourishment from their surroundings. But humans can play a part in aiding their growth too. Composting is a method of boosting plant growth and nourishment by adding a nutrient-rich mixture into the soil to enrich the soil with carbon and nitrogen. Almost any food item can be used to create compost. As much as 30 percent of household waste can be converted into compost. Creating compost is an extremely easy process. All one needs to do is gather items such as table scraps, wood scraps, tealeaves, coffee beans, corncobs, eggshells, manurean organic matter made from animal feces, and other similar items, and mix them well into the soil. Plenty of sunlight, the right equipment, and a good compost bin can create a decent batch of compost. It serves as an excellent alternative for chemical fertilizers. Composting enriches the soil and prevents pollution. It also keeps the soil moist and prevents plants from contracting diseases. Composting is a relaxing and fulfilling activity that even teenagers can attempt. It will not only give them immense joy to watch their plants grow beautifully, but also educate them about recycling waste products.Passage 2The Task of Composting Though organic compost is beneficial for nurturing plants, the task of composting itself isn't easy. Composting requires time and effort to compile the right mixture, and one has to be willing to work on making the compost every day. It is also important to have the right equipment and preserve the compost properly. There is always the risk of insects and rodents damaging the homemade compost. Additionally, the effort put into making the compost does not always take root. Composting requires proper space and climatic conditions. Cold or dry weather is not ideal for compost, unless one constantly keeps the pile moist. Compost requires a lot of sunlight, which is not always available during winter. Lack of sunlight hampers the decomposition of materials in the compost. Lastly, creating the right compost requires a trained hand and an expert's guidance. Using wrong kitchen ingredients such as bone scraps, whole eggs, fatty foods, or oil in the compost may damage the plant. One should especially be cautious about using manure made from cat or dog feces in the compost to grow vegetables as it can contain bacteria that can cause diseases in the plant. Nutrient imbalance in the compost could also affect the plants as too much of nitrogen or carbon could corrupt the soil.5What piece of information from passage 2 conflicts with the information from passage 1? A. Compost does not always benefits the plant. B. Kitchen wastes are utilized to make compost. C. Organic compost is more beneficial than chemical fertilizers. D. Bacteria in some compost can cause diseases in plants. Who was the Italian-born Roman dictator who got killed by premeditated assassination in 44 BC? Please help! I will mark Brainliest and 25+ pts.!Delilah is d years old. Write an expression showing how old she will be in four years from now? How do veinsreturn blood to theheart?A. using simple andfacilitated diffusionB. using osmosis andsimple diffusionC. using capillaries andarteriesD. using valves and musclecontractions Damon plotted a point on the grid. He says that the first number of the ordered pair is negative and the second number of the ordered pair is positive. Based upon this information, which of the points below could be Damon's? A. HB. JC. KD. L Which of these statements is true about autotrophs, but not heterotrophs? yvette uses 6 grams of tea leaves to make 24 fluid ounces of tea.last week she made 288 fluid ounces of tea.how many grams of tea leaves did yvette use to make tea last week. Which of the following statements provides the best analysis of what happens to freshwater lakes that are polluted by nitrates and phosphates? A. Nitrates and phosphates are lethal to fish populations. B. Nitrates and phosphates promote algae bloom, increasing bacteria in the water, which use oxygen needed by marine life. C. Nitrates and phosphates increase the acidity of the water, promoting the growth of some fish populations and the decrease of others. D. Nitrates and phosphates have no effect on the fish population, but they limit plant growth by filtering the light they require to thrive. A waiter Yo es el mesero. Ella soy el mesero. Ella es el mesero. Yo soy el mesero. Microsoft PowerPoint is the best example of Multimedia Presentation Software.*True or false Four friends are playing carnival games that require tokens. Each of the four friends buys 64 tokens. Express the number of tokens bought by one of the friends in exponential form with a base of 4. Using your answer from part 1, write an exponential expression that can be used to find the total number of tokens bought by all four friends. Solve the expression in part 2, leaving your answer in exponential form. Show your work. Family number in science Which action is not a step of summarizing a text?A. Write the main idea as the first sentence of your summary.B. Use words from the text so others understand it.C. Mark the main ideas by taking notes or underlining them.D. Include the most important details in your summary. (a-b+c)-(c+b)I literally tried so many times i dont get it 2. Mi hermano noa mis amigas. True or False:1# 9 time 9 times 3 = 3 to the power of 52# 7 + 7 + 7 = 3 + 3 + 3 + 3 + 3 + 3 + 33# 1/7 times 1/7 times 1/7 = 3/74# 6 + 6 + 6 = 6 to the power of 3 define figurative language Protected Rights LimitationsRight to bear arms ?Unwarranted search and seizure Crime suspects may be searchedWhich phrase completes the table? Neurons have special proteins in theircell membranes that allow them to generateelectrical current. Are these proteins mostlikely produced by ribosomes on the rough ERor ribosomes suspended in the cytoplasm?Explain your answer. *Suppose you drop a tennis ball from a height of 15 feet. After the ball hits the floor, it rebounds to 12 feet, then hits the floor and rebounds to 9.6 feet. Write an explicit formula for the sequence.Also, How high will the ball rebound after its fourth bounce?