1. =SUM (8, -6, 3, 20)
2. = AVERAGE (45, 30, 50, 47, 33)
Answers
Answered by
0
1. Sum Function
function SUM(a, b, c, d) {
return (a+b+c+d);
}
we can invoke for example SUM(8, -6, 3, 20)
2. Average
we can use our sum function here
function AVERAGE(a,b,c,d,e){
return ((a+b+c+d+e)/5);
}
we can invoke for example AVERAGE (45, 30, 50, 47, 33)
Similar questions
Social Sciences,
4 months ago
Social Sciences,
4 months ago
Math,
4 months ago
History,
8 months ago
Math,
8 months ago
Science,
1 year ago