answersLogoWhite

0

How do you add 3 numbers using c plus plus?

Updated: 8/20/2019
User Avatar

Wiki User

11y ago

Best Answer

int x = 1, y = 2, z = 3;

int f = x + y + z;

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you add 3 numbers using c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is 3 plus 3 plus 3 plus 3 plus 4 plus 4 plus 5 plus 9?

it is simple arithmetic. to solve, just add the numbers using the addition property and recieve the answer of 34


What is these numbers average 29.7 plus 48.9 plus 8?

Just add the numbers, and divide the result by 3 (since there are 3 numbers).


How much is 41 plus 3?

41 plus 3 equals 44. You add the two numbers together to get the answer.


How is renaming to add mixed numbers different from regrouping to add whole numbers?

7 7/12 plus 3 8/9


What is 1 plus 3 plus 5 plus 7 plus 9 plus 11 plus 13 plus 15 plus 17 plus 19 plus 21 plus 23 plus 25 plus 27 plus 29 if we add 3 numbers result will be 30?

No. The sequence of numbers we're given are odd numbers, and the sum of any three odd numbers will always be an odd number itself. Because 30 is an even number, you can not pick any three odd numbers that will add up to it.


What is the sum for 1 plus 2 plus 3 plus 4 plus ... plus 98?

If you add all the numbers from 1 to 98, the total is 4851.


What is -4 plus -3 plus -8 plus 3 plus 9?

First add all the negative numbers. It -4+-3+-8 is -15. Now 3+9=12So we need to as 12 to -15 which is the same as 12-15 or -3.When you add negative numbers you can just add them like positives then place the negative sign in front of you answer. Adding a positive and a negative is like subtracting the negative one from the positive one. That is what I did.


What are the numbers when you add you get -3 when multiplied you get 40?

There are no two real numbers that do. Using complex numbers, these two do: (-3/2 + i√151/2) & (-3/2 - i√151/2) Two numbers that add to -3 and multiply to -40 are -8 & 5 Two numbers that add to 3 and multiply to -40 are 8 & -5 Two complex numbers that add to 3 and multiply to 40 are (3/2 + i√151/2) & (3/2 - i√151/2)


How do you factor 16y2 plus 4y plus 1?

It cannot be done using real numbers. However, it can be done using complex numbers: 16y² + 4y + 1 = ¼(8y + (1 + i√3))(8y + (1 - i√3))


Which 2 numbers add up to 1?

3


7 plus 8 plus 9 plus 9 plus 4 plus 69 plus 5 plus 789 plus 3?

The answer is 903. Simply add up all of the numbers arithmetically like you would for two plus two. To make sure the answer is correct, check your work using a calculator.


What does this equals 3 plus 9 plus 4 plus 7 plus 5 plus 3 plus 6 plus 8 plus 7 plus 5 plus 6 plus 2 equals?

The answer is 65. Simply add up all of the numbers arithmetically like you would for two plus two. To make sure the answer is correct, check your work using a calculator.