Write a program to Find the Sum of 4 numbers​

Answers

Answer 1

Answer:

Following are the code to the given question:

#include <iostream>//header file

using namespace std;

int main()//main method

{

   int a,b,c,d;//defining integer variable

   cout<<"Enter numbers:";//print message

   cin>>a>>b>>c>>d;//input numbers

   int sum=a+b+c+d;//add value in sum variable

   cout<<"4 number sum is:"<<sum;//print sum

   return 0;

}

Output:

Please find the attachment file.

Explanation:

In the program inside the main method 4 integer variable "a,b,c, and d" is declared that uses the print method to input the value from the user-end and after accepting the value an integer variable "sum" is declared that adds all input values and use a print method that prints the value with the message.

Write A Program To Find The Sum Of 4 Numbers

Related Questions

what would happen without satellites???

Answers

Answer: without satellites there would be no way for the world to communicate

Explanation:

Answer:

Explanation:

Without satellites, we wouldn't have much choice in our television programs either, because there would be no more direct-to-home broadcasting, and cable operators would no longer have easy access to such a wide variety of channels.

areas in which there has been significant technological advancement (electricity, transportation, communication, etc.)?

Answers

Answer:

transportation,communication,health care and agriculture

Explanation:

transportation through the provision of vehicles

comminication through the use of mobile

phones and laptops

health care through the use of machines and incubators

agriculture through the use of tractors and fertilizers

list and explain seven functions of operating system software​

Answers

Answer: Security – ...

Control over system performance – ...

Job accounting – ...

Error detecting aids – ...

Coordination between other software and users – ...

Memory Management – ...

Processor Management – ...

Device Management –

HOPE THIS HELPS

Why should you list more than one font if you are formatting some text using CSS?
Not every browser supports every font.
CSS will select the font that fits best on the page.
CSS will use different fonts when the page is refreshed.
All of the fonts will appear in the webpage.
PLZZ HELP ME IM TIMED

Answers

Answer:

Because if one font is not available, it will fall back on the ones that are. By providing several, you have a higher level of control over what happens to the site if a browser does not support one of the fonts. The alternative is the browser deciding to use it's own default font as a fallback. This can result in the webpage looking weird.

Compare an electric circuit to a river flowing with water. Which of the following could appropriately be considered a source?


a spring

a place where two rivers join

an ocean

an island

Answers

Answer:

a spring.

Explanation:

An electric circuit can be defined as an interconnection of electrical components which creates a path for the flow of electric charge (electrons) due to a driving voltage.

Generally, an electric circuit consists of electrical components such as resistors, capacitors, battery, transistors, switches, inductors, etc.

This electrical network which is usually a closed loop comprises of a device that provides the energy (voltage) to drive electrons or electric current; the device is referred to as a source such as a generator or battery.

Springs are points from which water naturally seeps from the ground. A spring is the original point or most common type of source from which a river flows or begin its journey.

This ultimately implies that, a spring serves as a source to a river flowing with water while a battery or generator serves as a source to an electric circuit with current flowing through it.

Hence, if we compare an electric circuit to a river flowing with water, a spring is considered to be a most likely source to the river.

What creative commons license allow for the work to be copied, distributed, displayed, or performed but modifications may not be made without the owner's consent

Answers

Answer:

No derivative works.

Explanation:

An intellectual property can be defined as an intangible and innovative creation of the mind that solely depends on human intellect. They include intellectual and artistic creations such as name, symbol, literary work, songs, graphic design, computer codes, inventions, etc.

Copyright law can be defined as a set of formal rules granted by a government to protect an intellectual property by giving the owner an exclusive right to use while preventing any unauthorized access, use or duplication by others.

A copyright can be defined as an exclusive legal right granted to the owner of a creative work (intellectual property) to perform, print, record, and publish his or her work. Also, the owner is granted the sole right to authorize any other person to use the creative work. For example, the copyright law which protects the sharing and downloading rights of music is known as the Digital Millennium Copyright Act (DMCA).

A creative commons license is simply a public copyright license that allows for the free distribution of a copyright protected material and it can only be used by the intellectual property owner.

Generally, there are four (4) main types of creative commons and these includes;

I. Attribution.

II. Share alike.

III. Non-Commercial.

IV. No Derivative Works.

No Derivative Works is a creative commons license which allow for a body of work (material) to be copied, distributed, displayed, or performed by another person but modifications may not be made without the owner's consent.

How to draw a sunset animation?

Answers

it depends what you're drawing on your own and you doing it digitally is best to use flipclip ((high quatily animation)) if you want to one fame at time then you can use IBS paint ((its free on the app store)) or you could go on Ebay, Amazon, ect I get one of Animation Table ((its the best if you are doing if you have lots money because they are quite high to pay for)). Now if want to draw Sunset Animation best to it one fame at first start with desgin and then take it slow.

Question #4
Multiple Choice
MEZEA
Which is immutable?
O dataset
O tuple
O deque
O list

Answers

Answer:

tuple

Explanation:

the inner machinations of my mind ar- hey wait i´m not Patrick

Consider the following code segment.
int a = 3 + 2*3;
int b = 4 + 372;
int c = 7 % 4 + 3;
double d = a + b + c;
I
What is the value of d after the code segment is executed?

Answers

Answer:

20.0

Explanation:

3+2*6 = 9

4 + 3/2 = 5.5 but, since b is an int value, it will round down to a 5

7%4+3 = 3 +3 = 6. the % symbol will give the remainder of the quotient

9 + 5 + 6 = 20. It becomes 20.0 because d is a double value.

The value of d after the code segment is executed is 391.0

How to determine the value of d?

To do this, we evaluate the code statements one after the other.

So, we have:

int a = 3 + 2*3;

This gives a = 9

int b = 4 + 372;

This gives b = 376

int c = 7 % 4 + 3;

This gives c = 6

For double d = a + b + c;

Substitute a = 9, b = 376 and c = 6 in d = a + b + c;

So, we have:

d = 9 + 376 + 6

Evaluate the sum

d = 391.0

Hence, the value of d after the code segment is executed is 391.0

Read more about computer programs at:

https://brainly.com/question/23275071

Which of the following best describes the purpose of an IP address?

IP addresses provide a unique number for identifying devices that send and receive information on the Internet

IP addresses assist in the reconstruction of a message that has been divided into many packets

IP addresses indicate the location where an internet-connected computing device was manufactured

IP addresses indicate how many times an individual packet has been requested by a router

Answers

IP addresses provide a unique number for identifying devices that send and receive information on the Internet

The best describes the purpose of an IP address is, that IP addresses provide a unique number for identifying devices that send and receive information on the Internet. The correct option is A.

What is an IP address?

An IP address is an address of the network of computers connected to the internet. The address is a sequence of numbers that are provided by the internet servers.

The full form of the IP address is internet protocol. It is the online address that is provided by the internet provider, The address will easily recognize if the person is using the internet. This address will be connected to the computers.

Thus, the correct option is A. IP addresses provide a unique number for identifying devices that send and receive information on the Internet.

To learn more about IP addresses, refer to the link:

https://brainly.com/question/16011753

#SPJ6

What are benefits for robots doing work instead of humans?
What are some drawbacks for robots replacing humans?
write in complete sentences.

Answers

Answer:

Explanation:

Robots are able to complete tasks more efficiently and with more perfection than humans.

Humans in many production based jobs will loose their lively hood.

how do i turn off itallics on a school chromebook i accidentally turned them on in another tab and i dont know how to undo them

Answers

u go in to the bar with i b u the is italics and u press it again and it will turn it off but u have to have the text selected

1 – Como contar uma história com responsabilidade e ética, utilizando técnicas aprimoradas para elaborar uma narrativa atrativa e responsável?

Answers

Answer:

Explain each part of the story in appropriate manner.

Explanation:

In order to tell the story with responsibility and ethics and create an attractive and responsible narrative, we have to explain each paragraph of the story that gives more information about the story as it proceeds to the audience. The story must have actions and humor in order to increase the interest of the listeners as well as a good message to the audience. Avoid inappropriate words or language during storytelling because it makes bad impression on the reader's mind.

(True or False) All notes have a rest?

Answers

Answer:

True i think i am not sure

Explanation:

Every type of note, like crotchets, minims etc, has a corresponding rest symbol that has the same time value.

PLSSSSSS HELPPPP!!!!Which aspect of the water cycle directly affects erosion?

A.Precipitation transfers water back to the earth.

B.Transpiration transfers water from plants.

C.Condensation humidifies the atmosphere.

D.Evaporation forms clouds in the atmosphere.

Answers

Answer: A.Precipitation transfers water back to the earth.

Explanation:

Erosion affects waterways. If erosion is high, eroded particles deposit in river beds or available banks. Therefore, when there is a flood in such places lots of places will be under water. Erosion also cause river ships unoperability.

The aspect of the water cycle is that the water moves in a cyclic manner and affects the rate of erosion and deposition.  

The rate of rainfall determines the rate of erosion of the land surface. As water is an agent of erosion.  Option A is correct as it falls on earth.

Learn more about the aspect of the water cycle directly affecting.

brainly.com/question/14171817.

por que se dice que las TIC´S son las integracion de las TI y las TC?

Answers

La respuesta correcta para esta pregunta abierta es la siguiente.

A pesar de que no se anexan opciones o incisos para responder, podemos comentar lo siguiente.

Se dice que las TIC´S son las integración de las TI y las TC porque ambas actividades se han integrado o fusionado en una solo concepto al momento de juntar las herramientas tecnológicas para almacenar, procesar y mandar información a través de los recursos tecnológicos utilizando los canales o recursos de los medios masivas de comunicación como lo son las redes satelitales o las comunicaciones vía microondas.

Al fusionarse las TI (Tecnologías de la Información) con las TC (Tecnologías de Comunicación), se maximiza la capacidad de enviar una mayor cantidad de información al momento a diferentes lugares del planeta.

What is motherboard ?​

Answers

Answer:

A motherboard is the main printed circuit board in general-purpose computers and other expandable systems. It holds and allows communication between many of the crucial electronic components of a system, such as the central processing unit and memory, and provides connectors for other peripherals

why there is a need to "think before you click"?

Answers

Answer:

what are you saying is this a question

"think before you click"

"think before you click"It's the saying for Social Media Users.

We don't know what's there behind a particular post,tweet, comment,message.

And when you react to some of it by Commenting on it you maybe right or maybe wrong because if you comment to one saying 'Yeah I think this person is truly sincere' but the reality behind him is he is an abuser or a rude person in the public's view.

But you said he is sincere then People will asume you as them like a bad person supporting bad ones so thats The example of it "think before you click"

And

"Think before you leap"

is for think,say,react, before knowing the reason.

or

Take steps with precautions and carefully

may this helps you

bye

You learned that you can use the tags to insert a link to another webpage. One problem that webpage developers face is that, after a time, links may no longer work. Can you think of ways that you can avoid broken links?

Answers

Answer:

Create hyperlinks instead

Explanation:

Which of the following might an audio technician do to music in a recording studio? (select all that apply)

a) write it
b) mix it
c) perform it
d) master it

Answers

B Plz give brainliest

Answer

perform it

master it

mix it

Explanation:

That's the Answer

HELP PLEASE 100 POINTS

Use the drop-down menus to complete the steps to access the Compact & Repair tool.

1. Open the database.

2. Go to the
✔ Backstage
view.

3. Click Info and then_________
OR
1. Open the database.
2. Click the_____ tab.

3. In the Tools group, click ________
The program then reduces the size of the database.

Answers

Honestly I’m not too sure because I think different models have different steps to use, but I’d guess the second steps... sorry Im not too sure but that is what I think. If you were leaning towards that one then I’d probably go with it.

Answer:

Explanation:

This is for MS Access:

1. Open the database.

2. Go to the

✔ Backstage

view.

3. Click Info and then__Compact and Repair__

OR

1. Open the database.

2. Click the__Database Tools__ tab.

3. In the Tools group, click ___Compact and Repair Database___

The program then reduces the size of the database.

A bank uses a computer program during the night to tell if the alarm should be rung. Sensors in the bank set the following Boolean variables:
vaultClosed: set to true if the bank vault is closed; otherwise false

heardNoise: set to true if a microphone heard noise; otherwise false

sawMovement: set to true if a camera saw movement in the bank; otherwise false

The automatic alarm should notify the police if there is noise and movement in the bank, or if the bank vault is open.
Which of the following boolean expressions can be used in a selection statement to ring the alarm?
A. NOT vaultClosed OR (heardNoise AND sawMovement)
B. heardNoise AND vaultClosed
C. NOT vaultClosed AND sawMovement
D. heardNoise AND sawMovement

Answers

Answer:

A. NOT vault Closed OR (heard Noise AND saw Movement)

Explanation:

Boolean expression is an expression which has logical or relational operator and they operate on boolean variables. In the given scenario the the expression used will be NOT vault closed or heard noise and saw movement. This will notify the police when the vault is opened or is tried to be opened. When there is any movement in the vault or when there is some noise the automatic alarm will ring and notify the relevant officials.

What is the first step to understand the potential impact to the business about a Security threat?

Answers

Answer:

Identify assets and their values

Explanation:

As a security analyst, the first step to determine the potential security threat is to understand

what kind of assets needs to be protected?what is the value of such assets?

if and if else check for a condition, these are known as

Answers

Answer:

i think its conditional statements

but im not sure though

Wesellyoubuy, a consumer electronics company, received consumer complaints about its employees not being able to communicate with consumers properly. After investigating the prime reason behind these complaints, the management found that the consumer service employees were following the same strategy to address all types of consumer issues. The management immediately started a new training program for the consumer service employees where they were trained to respond to every possible query a consumer might have. Eventually, their service ratings and sales showed improvement. In this scenario, the consumer service team improved _____.

Answers

Answer:

customer satisfaction

Explanation:

The consumer electronics company started a new training program for the consumer service employees as the company found that the consumer service employees were following the same strategy to address all types of consumer issues due to which they were not able to communicate with consumers properly.

This leads to improvement in service ratings and sales.

In this scenario, the consumer service team improved customer satisfaction

what would be the most constructive response

Answers

Answer:

we cant tell what your talking abt please repost with at pitcher or a exolination

Explanation:

will robots take people's jobs?
write in complete sentence.

Answers

Answer:

yes

Explanation:

yes because they already have them for old gun ships (which they still use) and they have made cars with them and more including bombing situations IED detinators they used in Afghanistan and in Iraq in 2011.

There is a population of owls in a forest. In one year there are 20 new owls born and 10 owls die. In this same year, 5 owls entered the forest and 2 owls left. How did the population of owls change in one year?

Answers

Answer:

The owls population increased by 13 in one year

Explanation:

The given data on the owl population are as follows;

The number of new owls born = 20 (positive increase in population)

The number of owls that die = 10 (negative decrease in population)

The number of owls that enter the forest = 5 (positive increase in population)

The number of owls that left the forest = 2 (negative decrease in population)

Let 'w' represent the number of new owls born, let 'x' represent the number of  owls that die, let 'y' represent the number of owls that enter the forest and let 'z' represent the number of owls that left the forest, we get;

The change in population, ΔP = w - x + y - z

By plugging in the values, we get;

ΔP = 20 - 10 + 5 - 2 = 13

The change in the population of owls in one year is an increase in 13 owls.

In an event-driven program, you design the screens, define the objects, and define how the screens will connect.

Answers

Answer:

True.

Explanation:

A software development life cycle (SDLC) can be defined as a strategic process or methodology that defines the key steps or stages for creating and implementing high quality software applications. There are seven (7) main stages in the creation of a software and these are;

1. Planning.

2. Analysis.

3. Design.

4. Development (coding).

5. Testing.

6. Implementation and execution.

7. Maintenance.

One of the most important steps in the software development life cycle (SDLC) is design. It is the third step of SDLC and comes immediately after the analysis stage.

Basically, the design phase is the stage where the software developer describes the features, architecture and functions of the proposed solution in accordance with a standard.

Hence, in an event-driven program, the software developer design the screens, define the objects to be used, and define how the screens will connect to other sources or resources.

Harold is working on a science project that includes a spreadsheet containing calculated results based on the data. An obviously incorrect result is being calculated and displayed. The data is correct, but the formula must be flawed. To get the correct information, Harold clicks on the cell containing the incorrect results and adjusts information contained in the:
A. the formula bar.
B. the shortcut toolbar.
C. the calculator pop-up.
D. the column header.

Answers

Answer: When entering a formula into a cell, you begin with  an equal sign

Functions and formulas are calculations a spreadsheet program applies to data.

Functions are preset calculations within spreadsheet software.

Formulas are user-entered calculations that may contain cell references, numerical values, and preset calculations.

Other Questions
hey guys i really need help rn bc im in a rush to get this done. im begging u if u could help me with this question an a few others ill mark brainiest. just pls help! can someone help please What is Martin Luther King's approach and what does he fear will happen if change through non violence is not supported? The temperature in degrees Fahrenheit was recorded every two hours starting at midnight on the first day of summer. The data is show in the table.HoursTemp. F062260457658861106412701475Which type of graph would best display the change in the temperatures throughout the day?bar graphline graphline plotstem and leaf plot Animal and Plant Cell Organelles Use the drop-down menus to determine where these organelles can be found. Ribosome Endoplasmic reticulum Golgi apparatus Cell wall Vacuoles Lysosomes Mitochondria Cell membrane Cytoplasm Chloroplasts Question in photo pls tell me which ever blue box is the Answerhelp pls :(Zoom in if needed Thank you! :D Which is a characteristic of the Jacobins? How do consumers get matter and energy to live and grow? Select one:They eat waste material and dead organisms.They eat producers and other consumers.They get it from the sun.They make their own food. Toby has already spent 22 minutes on the phone, and he expects to spend 2 more minutes with every phone call he routes. In all, how many phone calls does Toby have to route to spend a total of 42 minutes on the phone?_____ phone calls please help im gonna fail Consider the following scenario: There are variations in the fur color of mice. Some mice have white fur. Some have dark fur. Foxes more easily catch mice with white fur. What will likely be a consequence of this scenario? (1 point) Mice with white fur will be more likely to survive and reproduce. Brown fur will become predominant. White fur will become predominant. Mice with brown fur will be less likely to pass on their genetic information. Priscilla can make 4 bracelets in 18 minutes. At this rate, how many bracelets can she make in 54 minutes? A collection of stamps consists of 22 stamps and 40 stamps. The number of 22 stamps is three more than four times the number of 40 stamps. The total value of the stamps is $8.34. Find the number of 22 stamps in the collection Aringmadeup of equal semicircular sectionof cast Iron and cast steel with two air gapsof o-imm and 0.25mm respectively has a crosssoctional area of 400 cm and a mean diameterof 5m. The ring is uniformly wound with a coilof 1200 furns. if the relative permeabilityof cast iron and cast steel are 2800 and900 respectively, determine the currentrequired to producea flux of lomwb in An object of mass m is moving in a straight line with velocity v and is slowing down from a force F = -kv where k is a constant. At time t = 0, the velocity is [tex]v_{0}[/tex]. How can I derive an equation for the object's velocity as a function of t? This is all I have. I need help on how Nick feels. Im confused on that part. Why did the murder of Emmett till receive so much attention? Find cos 0162012A.1216B.1220C.162010D. What do the Louisiana Purchase and the Mexican Cession have in common with Manifest Destiny? Hey can you plz help me fast!!!