answersLogoWhite

0

int testing;
int testing1;
int testing2;
printf ("enter number");
scanf ("%d",&testing1);
printf ("added by ");
scanf ("%d",&testing2)
testing=testing1+testing2;
printf ("sum is %d",testing);

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What do you call the result when you add two numbers?

when you add two or more numbers together, the result is called the sum


When you add two numbers what is name of the result?

The name of the result is the sum.


How do you have a 3 sum?

You add the first two numbers, then you add the third to the result.


How do you find out the mean of numbers?

a) Add the numbers. b) Count how many numbers there are. c) Divide the result of part (a) by the result of part (b).


When you add two numbers together the answer is called?

When you add two (or any number of) numbers together, the result is called the sum.


How do you create a PHP class?

To create a PHP class it is pretty simple, I will show you how to create a very basic class in an example below. <?php // the class class myBasicClass { // a function to add 2 numbers together and return the result function add($num1, $num2) { $result = $num1 + $num2; return $result; } } // load up the class $myBasicClass = new myBasicClass; // output the result echo $myBasicClass->add(5, 10); // outputs the result 15 ?>


What is the sign for multiplication and addition?

If you multiply two numbers, the result will be positive, if both factors are positive, or if both are negative. Multiplying a positive number by a negative number, or a negative number by a positive number, results in a negative result.For addition, if you add two positive numbers, the result is positive. If you add two negative numbers, the result is negative. If you add a positive and a negative number, the result depends on which of the numbers has the greater absolute value. For example, if the positive number has the greater absolute value (distance from zero), the result will be positive.If you multiply two numbers, the result will be positive, if both factors are positive, or if both are negative. Multiplying a positive number by a negative number, or a negative number by a positive number, results in a negative result.For addition, if you add two positive numbers, the result is positive. If you add two negative numbers, the result is negative. If you add a positive and a negative number, the result depends on which of the numbers has the greater absolute value. For example, if the positive number has the greater absolute value (distance from zero), the result will be positive.If you multiply two numbers, the result will be positive, if both factors are positive, or if both are negative. Multiplying a positive number by a negative number, or a negative number by a positive number, results in a negative result.For addition, if you add two positive numbers, the result is positive. If you add two negative numbers, the result is negative. If you add a positive and a negative number, the result depends on which of the numbers has the greater absolute value. For example, if the positive number has the greater absolute value (distance from zero), the result will be positive.If you multiply two numbers, the result will be positive, if both factors are positive, or if both are negative. Multiplying a positive number by a negative number, or a negative number by a positive number, results in a negative result.For addition, if you add two positive numbers, the result is positive. If you add two negative numbers, the result is negative. If you add a positive and a negative number, the result depends on which of the numbers has the greater absolute value. For example, if the positive number has the greater absolute value (distance from zero), the result will be positive.


1 To develop a program using the ADI instruction to add the two hexadecimal numbers 3AH and 48H and store the result in memory location 2100H?

Oh, what a happy little question! To add the two hexadecimal numbers 3AH and 48H using the ADI instruction, you can first load 3AH into the accumulator, then use the ADI 48H instruction to add 48H to the accumulator. Finally, you can store the result in memory location 2100H. Just remember to take your time, enjoy the process, and trust in your abilities to create something wonderful!


What 5 odd numbers add up to 32?

37


How do you solve this problem .41 plus 21.4 plus 6.3 plus 280 step by step?

Here is one way: Add the first two numbers; add the result to the third number; add the result of this to the fourth number.However, to do the addition with pencil and paper, it is best to write the numbers down, one below the other, keeping the decimal points aligned. Then add from the right to the left.Here is one way: Add the first two numbers; add the result to the third number; add the result of this to the fourth number.However, to do the addition with pencil and paper, it is best to write the numbers down, one below the other, keeping the decimal points aligned. Then add from the right to the left.Here is one way: Add the first two numbers; add the result to the third number; add the result of this to the fourth number.However, to do the addition with pencil and paper, it is best to write the numbers down, one below the other, keeping the decimal points aligned. Then add from the right to the left.Here is one way: Add the first two numbers; add the result to the third number; add the result of this to the fourth number.However, to do the addition with pencil and paper, it is best to write the numbers down, one below the other, keeping the decimal points aligned. Then add from the right to the left.


What number is halfway between 300 and 600?

The number halfway between 300 and 600 can be found by calculating the average of the two numbers. Adding 300 and 600 together gives us 900, and dividing that by 2 gives us 450. Therefore, the number halfway between 300 and 600 is 450.


How do you find a halfway number between decimals and why?

You add the two numbers, and divide the result by 2.