29. Write a program that asks to input any ten numbers and displays sum of them​

Answers

Answer 1

Answer:

Here is the code for a classic C++ program that does it:

--------------------------------------------------------------------------------

#include <iostream>

using namespace std;

int main()

{

   int sum = 0;

   int n;

   cout << "Input 10 numbers: " << endl;

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

   {

       cin >> n;

       sum += n;

   }

   cout << "Sum of the numbers: " << sum << endl;

}

--------------------------------------------------------------------------------

Explanation:

I'm assuming you know what "include", "using namespace std" and "int main()" do, so I will skip over those.

First, we declare a variable "sum" and initialize it with 0 so we can add numbers to it later.

Then, we declare a variable "n" that will be set as the input of the user.

The "for-loop" will iterate ( go ) from 0 to 9, and will set the value of "n" as the input that is given -> "cin >> n;". After that, we add the value of "n" to the sum variable.

After "i" reaches 9, it will exit the loop and proceed to printing the sum of the numbers.

Hope it helped!


Related Questions

Mike needs to write the primary objectives of a project in a project plan. In which section should he write them?
A.
scope
B.
overview
C.
baselines
D.
schedule

The answer is B.) overview

Answers

D because you are always supposed to use your schedule

Answer:B

Explanation: yes

Which of these statements regarding mobile games is true? A. They are typically played indoors. B. They have detailed environments. C. Their levels can be completed quickly. D. They are typically played for several hours at a time. E. They are played on large screens.



game development

Answers

Answer:

c

Explanation:

The statements regarding mobile games that is true is that their levels can be completed quickly.

What is mobile games?

Mobile games are known to be games that have been set up for mobile devices, such as smartphones.

Note that Mobile games can be seen from basic to hard levels and as such, The statements regarding mobile games that is true is that their levels can be completed quickly.

Learn more about mobile games from

https://brainly.com/question/917245

#SPJ2

Digital signals transmit zeros and ones through changes in

frequency

light intensity

voltage

Answers

Voltage hope this helps

Answer

voltage

Explanation:

the other person is correct i got a 100 % thanks to them

It was brought to Dennis's attention that some of his employees' e-mail practices were unethical. Read the scenarios described below and identify the unethical practices.


Darlene sends a memo to all employees outlining the new procedure for tracking inventory in the database.

Luke sends out an e-mail to co-workers asking them to sponsor him in a walkathon next month.

Nancy sends the latest computer jokes out to all the company's employees to brighten their day.

Bob forwards a customer inquiry to the sales representative assigned to the account.

Answers

Answer:

Answer: B (Luke sends out an e-mail to co-workers asking them to sponsor him in a walkathon next month.)

Explanation:

The answer would be B, if you can add multiple then C could also fall under the unethical catoagory.

In a ______, the bars that represent the categories of a variable are spaced so that one bar is not directly next to another; whereas in a ______, the bars actually touch one another.

Answers

Answer:

The correct answer would be "bar graph; histogram".

Explanation:

The bar graph has become a photographic arrangement of information which always practices that relate bars to consider various give information. Alternatively, this is indeed a diagrammatic comparative analysis of univariate data. This same histogram demonstrates the variation including its frequency of repeated measures, introduces numerical information.

To improve accuracy during user input, a designer can add context to the ________ from the properties screen which will be displayed in the status bar to provide additional information to users who are entering data.

Answers

Answer:

Description

Explanation:

To improve accuracy during user input, a designer can add context to the Description from the properties screen which will be displayed in the status bar to provide additional information to users who are entering data.

TRUE OR FALSE - SQL language is used to query data in a Relational Database?

Answers

Answer:

Yes I agree with the other person who answered that

What are the steps to insert an image into an email message place the steps in the correct order

Answers

Answer:

1. Start a new message

2. click the insert tab.

3. look for the illustrations command group

4. click pictures

5. browse, select, and insert your choice

Explanation:

can someone help me solve this pls

Answers

Answer:

1. Textbox

2. Button

3. Boolean

I’m tutoring a kindergartener virtually and have run out of things to do that will keep her engaged. Does anybody have any ideas?

Answers

Maybe cut out some numbers in different colors, he/she might be more engaged!

Answer: Try to just make it fun. Include things they like, love, and or think are funny.

Which of the following is a visual thinking tool that aids students in organizing ideas through analysis, synthesis, and comprehension?


mind map

outliner

outline

drawing

Answers

Answer:

mind map hope this help

Explanation:

The answer is:

mind map

pls help have absolutely no clue how to delete this

Answers

Answer:

is that a picture or a file if it's a file then touch the pad with two fingers

if a picture then i don't know  

Explanation:

Answer:

not sure if this will mess anything up but try to run cmd as admin and del that folder

Explanation:

Austin works as a department head and frequently uses presentations to deliver information to his staff. He relies heavily on presentation technology because of its many benefits, which include _____.



ensured accuracy


visual appeal


work can't be lost


fast creation


ease of updating

pls help

Answers

Answer: ensured accuracy

Explanation:

Answer:visual appeal, ease of updating, fast creation

Explanation:

Which type of programmer writes code for operating systems?
A.
application programmer
B.
web programmer
C.
game tools programmer
D.
system programmer <------ Correct
E.
artificial intelligence programmer

Answers

Answer:

d.is the correct answer

Answer:

Answer is D.

Explanation:

what is the range of values used whe setting velocity?

A. 0% to 100%

B. -100% to 100%

C. 0% to 200%

D. -100% to 200%

Answers

Answer:

A. 0% to 100%

Explanation:

Velocity can be defined as the rate of change in displacement (distance) with time. Velocity is a vector quantity and as such it has both magnitude and direction.

Mathematically, velocity is given by the equation;

[tex] Velocity = \frac{distance}{time} [/tex]

The range of values used when setting velocity is 0% to 100%.

Hence, when working on a virtual reality (VR) robot, you should use a range of 0% to 100% to the set the value of velocity. This range of values are used to denote the rate at which the robot moves i.e its forward and backward motion (movement).

Hey, anyone like will u jus help meh like pleaseee
Which type of Malware is hard to detect and collects personal data?
1.Spyware
2.Virus
3.Worm
4.Trojan Horse​

Answers

Answer:

1

Explanation:

Answer:

1. Spyware.

Explanation:

Sure... pls give another person brainliest...

love u ❤️

hope it helps

To step through a program, what status indicator light needs to be on?

Answers

Answer: It should always stay on normal

Explanation:

Hope this helped :)

A walk-through of the project deliverable is conducted by
__

Answers

A walk through of the project deliverable is conducted by: the sellers agent

In the list [0, 13, 5.4, "integer"], which element is at index 2?
A.0
B.13
C.5.4
D.“integer”

Answers

Answer: C) 5.4

The index starts at 0

index 0 = 0index 1 = 13index 2 = 5.4index 3 = "integer"

If there are n elements in a list, then the index ranges from 0 to n-1.

To navigate through your presentation slides, which key on your keyboard can you use?
Dankonace

Answers

Answer:

You use your arrow keys

Explanation:

Answer:

Space bar

Explanation:

(04.06 LC)

To navigate through your presentation slides, which key on your keyboard can you use?

Group of answer choices

Backspace

Tab key

Space bar

Enter key

Which operating system (OS) is used to run your laptop?

Answers

Answer:

Windows or Linux

Explanation:

It would most likely be windows but theres not enough information to make a sure decition.

Answer:

The most known one are, macOS, Windows, and Linux.

Bonus: The most known smartphone operating systems are Android and iOS

Explanation:

help with this please anyone
Keywords:
-Virus
-Spyware
-Worm
-Trojan Horse
Definitions:
-This type of malware pretends it will be useful and it is a safe program when it will actually try and attack your device.
-This type of malware can copy itself hundreds of times so can hard your device very quickly.
-A type of malware that spreads through normal program.It could simply slow down your device down or cause you to lose all access to programs on your computer.
-A type of malware that installs itself onto devices and steals personal information about the user like usernames and passwords.It tracks every key the user pressed called key logging.
PLZ ANYONE HELP ME ​

Answers

Answer:

       trojan horse

         worm

         virus

        spyware

Explanation:

gimme the brainliest hehe

Answer:

1).Virus :- A type of malware that spreads through normal program.It could simply slow down your device down or cause you to lose all access to programs on your computer.

2).Spyware:- A type of malware that installs itself onto devices and steals personal information about the user like usernames and passwords.It tracks every key the user pressed called key logging.

3).Worm:- This type of malware can copy itself hundreds of times so can hard your device very quickly.

4). Trojan Horse :- This type of malware pretends it will be useful and it is a safe program when it will actually try and attack your device.

Explanation:

Pls give another person brainliest...

thanks hope it helps

Which column and row references are updated when you copy the formula f$3/15

Answers

Answer: Column F

Explanation: In Microsoft excel, for the sake of robustness and to aid the effectiveness of updating formulas across cells. The reference of cells are treated as relative which means that when formulas are copied across columns or within rows, they get updated automatically. However, some numbers may be treated as constants such that we do not want them to change or be updated as we move acisss cells. Thus, such numbers are treated Given absolute references, which is made possible by adding a '$' prefix before the colum alphabet or row number or both. in the scenario given above, the row has the $ prefix, hence, it is absolute and will not change but the column alphabet does not and hence, treated as relative.

A port that allows the transfer of high quality video and audio signals is called a(n) ________ port.

Answers

Answer:

HDMI

Can't you look this up?

aux Which of the following is the best name for a history report about World War I? (6 points)​

Answers

Answer:

The best name of a history report for world war I:  The Great War

Explanation:

Based on what I learned in my past history classes, World War I was also known as The Great War. It was the most deadliest war in American history

Answer:

6 points

Explanation:

Which activity might be a job or task of an IT worker who manages work

Answers

Answer: Sets up a LAN for the office

Explanation:

The activity that might be a job or task of an IT worker who manages work is the setting up of a local area network for the office.

Through the setting up of the local area network, the computers in the company can be interconnected together within the organization.

black and white squares codehs, i need the whole code (40 points for correct answer)

Answers

Answer:

speed(0)

penup()

setposition(-100,0)

count=0

def make_squares(i):

if i % 2 == 0:

begin_fill()

for i in range(4):

forward(25);

left(90)

end_fill()

penup()

pendown()

for i in range(6):

pendown()

make_squares(i)

penup()

forward(35)

Explanation:

Cars are an example of what type of technology?

Answers

Answer:

A number of cars already have semi-autonomous capabilities in the form of driver-assisted technologies. These include automatic-braking sensors, motorway lane sensors, mapping technology that monitors blind spots, cameras in the back and front of a car, adaptive cruise control and self-parking capabilities.

Explanation:

Answer: Mechanics

Explanation: cause is moves and Mechanics stuff moves around not the mechanics pencils.

Most presentations use text: A. To draw attention to content
B. At a minimum
C. Without restraint
D. To maximize area and style

Answers

i think it’s c hope this helps

Why RAM is called volatile memory?​

Answers

Explanation:

RAM is called 'volatile' memory by analogy because if the computer loses power, all the data stored in RAM

Explanation:

Random Access Memory ( RAM ) is called volatile memory because it's data contents remain permanent and do not lose data if the electricity is not supplied.

Hope I helped ! ツ

Have a wonderful day / night ! ♡

▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁

Other Questions
Which of the following sets of numbers could not represent the three sides of atriangle?O {6, 14, 18}O {11, 26, 36}O {12, 14, 25}O {10, 13, 23} What 2 processes do plants use to grow? What would a poem based on an allusion have that an informational article would not?the poet's attitude toward the topicsuggestions for learning more about the topica logical are argument related to the topicresearched, verified facts about the topic What building method did the Inca develop to adapt to their geography? O The Inca shaped stones to lock together without mortar. O The Inca used horses and wheels to haul materials up mountainsides. O The Inca constructed most buildings with wood from the Amazon Rainforest. O The Inca built structures on stilts to protect them from flooding. I need help with this question Finally, a universal healthcare system couldlead to huge increases in unemployment. Allof the Americans who are currently employedwith private insurance companies couldsuddenly find themselves without work.Government regulation could lead todecreased salaries for doctors, which wouldlead to fewer young professionals enteringthe medical field. Imagine a country wherethere are not enough doctors to take care ofthe people who now have health insurance.This hardly seems like a more beneficialThe conclusion appeals to pathos by referencingDONEThe conclusion appeals to logos by claiming thatuniversal health careDONEIntro Give 3 reasons why the narrator of "Tell Tale Heart" is sane true or false 1. the 5^n , n is known as exponent? By showing a thorough understanding of your survey results, organizing your content in a clear manner, and generally showing you are prepared for this presentation, you are most demonstrating what aspect of credibility? Multiple Choice character caring competence Please help me very quickly I will give brainliest How does the final number of chromosomes in each cell compared to the starting number ofchromosomes in both cells? Describe the process of communication and its characteristics.Why do we communicate?What qualities make a competent communicator? Minimum (300 words) i really need help i forgot about this topic Which expression is equivalent to 12x 8A -4 (3x + 2)B-2 (-6x + 4)C 4 (3x 8)D) 2 (6.c + 4) How does using microbes and other bio-life forms help to remove contaminants from soil and groundwater?A) It changes the chemical structure in reused contaminants.B) It offers considerable promise for cleaning up contamination.C) So far, it is the only risk-free method of removing contaminants.D) It doesn't work at all. (2x+3) what is the value of x How can you avoid cramps? A. Eat a large meal just before exercising. B. Don't drink water during exercise. C. Stay hydrated. D. None of the above [tex]2(78[/tex]what is the answer Why did George Washington write that he was walking "on untrodden ground"? pls answer fast will mark BRAINLIEST!How does Dr. Jekylls confession allow readers to understand his inner conflict?It shows the violence of Mr. Hyde, which opposes Dr. Jekylls typically mild nature.It illustrates Jekylls character as a violent man who delights in harming others.It points out Hydes violent behavior, showing how Jekyll is becoming aggressive.It demonstrates the guilt Mr. Hyde feels after committing a horrible crime.