answersLogoWhite

0


Best Answer

It gives you the sum of two or more numbers.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are advantages of using the sum function?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Which method of entering a function requires the user to know the name and initial characters of a function?

using the sum button


The advantages and disadvantages of using Microsoft Excel Cube Function to extract data from a database?

None


What r the Demerits of function in C?

Write a merits and demerits of using function in program


How do you write while andfor loop to get sum of1to100 integer?

int i, sum; /* example using while */ sum = 0; i = 1; while (i <= 100) { sum += i; ++i; } /* example using for */ sum = 0; for (i = 1; i <= 100; ++i) sum += i;


What is a parameter passing?

Passing parameters probably means passing a parameter into a function.Basically, this happens when you call a function. You put the parameter into a function, then call it, and the function does something to the parameters you put into it. Here's an example: #include <iostream> using namespace std; int sum(int a, int b); //Declare the function, so the program knows that it exists int main() { int first, second, total; cout<<"Please insert two numbers."<<endl; cin>>first>>second; total=sum(first, second); /*Here we are passing the variables (parameters) "first" and "second" into the function "sum". This function then does something to them and outputs the value. In this case, it is stored in the variable "total"*/ cout<<"Their sum is "<<total<<"."<<endl; return 0; } //Here we define the function (tell the program what to do) int sum(int a, int b) { //We pass two integers into the function. Their values are stored in a and b. a and b can then be used by the function. sum=a+b; return sum;//Adds them, then returns the sum }

Related questions

Where can you enter a sum in excel?

A sum can be entered in any cell on a spreadsheet or by typing it into the formula bar. You can use calculations in lots of ways to do a sum, including the SUM function, the SUBTOTAL function, using Alt and the equals sign and using the Autosum button.A sum can be entered in any cell on a spreadsheet or by typing it into the formula bar. You can use calculations in lots of ways to do a sum, including the SUM function, the SUBTOTAL function, using Alt and the equals sign and using the Autosum button.A sum can be entered in any cell on a spreadsheet or by typing it into the formula bar. You can use calculations in lots of ways to do a sum, including the SUM function, the SUBTOTAL function, using Alt and the equals sign and using the Autosum button.A sum can be entered in any cell on a spreadsheet or by typing it into the formula bar. You can use calculations in lots of ways to do a sum, including the SUM function, the SUBTOTAL function, using Alt and the equals sign and using the Autosum button.A sum can be entered in any cell on a spreadsheet or by typing it into the formula bar. You can use calculations in lots of ways to do a sum, including the SUM function, the SUBTOTAL function, using Alt and the equals sign and using the Autosum button.A sum can be entered in any cell on a spreadsheet or by typing it into the formula bar. You can use calculations in lots of ways to do a sum, including the SUM function, the SUBTOTAL function, using Alt and the equals sign and using the Autosum button.A sum can be entered in any cell on a spreadsheet or by typing it into the formula bar. You can use calculations in lots of ways to do a sum, including the SUM function, the SUBTOTAL function, using Alt and the equals sign and using the Autosum button.A sum can be entered in any cell on a spreadsheet or by typing it into the formula bar. You can use calculations in lots of ways to do a sum, including the SUM function, the SUBTOTAL function, using Alt and the equals sign and using the Autosum button.A sum can be entered in any cell on a spreadsheet or by typing it into the formula bar. You can use calculations in lots of ways to do a sum, including the SUM function, the SUBTOTAL function, using Alt and the equals sign and using the Autosum button.A sum can be entered in any cell on a spreadsheet or by typing it into the formula bar. You can use calculations in lots of ways to do a sum, including the SUM function, the SUBTOTAL function, using Alt and the equals sign and using the Autosum button.A sum can be entered in any cell on a spreadsheet or by typing it into the formula bar. You can use calculations in lots of ways to do a sum, including the SUM function, the SUBTOTAL function, using Alt and the equals sign and using the Autosum button.


When using the SUBTOTAL function which is the function number for the SUM function?

4


Which method of entering a function requires the user to know the name and initial characters of a function?

using the sum button


What are the advantages in using a rule for a function rather than listing function values in a table?

If the domain is infinite, it is not possible to list the function.


What is the function in a spreadsheet that will allow you to add?

You can use the SUM function to do it, or you could do it other ways, like just using the + in a formula.


How many arguments are allowed in a sum formula?

A minimum of one argument is needed and you can have up to thirty. Though the answer would be obvious, you can use a single value in a SUM function like this: =SUM(5) You can also use a single cell: =SUM(A23) It can also be another calculation or function, though these can be done without using the SUM function: =SUM(A5*10) =SUM(AVERAGE(A24:B30))


Program to find sum of n numbers using recursion function?

int sum(n) { if (n==0) return 0; else return n+sum(n-1); }


The advantages and disadvantages of using Microsoft Excel Cube Function to extract data from a database?

None


What are the advantages of reproduction as a function of the family?

what are the advantages of reproduction as a function the family?


How do you produce the sum of a column by using the auto sum function?

Assuming you're using Microsoft Excel, select the entire column by clicking and dragging with the mouse, then press the AutoSum button (looks like Σ).


The difference between the sum if function and the sum ifs function is the number of?

ranges evaluated


Can you use Sum Function in school?

If you use Excel in school, then, yes, you can use the SUM function.