The equations that uses addition, subtraction,
multiplication and division operators and other values in a spread sheet is
known as formulas. They are a way of having to provide symbols in means of
expressing information regarding a mathematical formula that are being solved
or showing its solution along with it.
Answer:
//variable integer_list to hold a list of integers
DECLARE integer_list
ASSIGN values to integer_list
//variable sum to hold the sum of the elements in the list
DECLARE sum
ASSIGN zero to sum
//loop through the integer_list and sum all it's elements together.
for(int i=0; i<integer_list.size(); i++){
sum += interger_list.get(i)
}
//Show the result of the addition from the for loop
DISPLAY "The sum is " + sum
Explanation:
The above code uses some hypothetical programming language syntax. The second and third lines declare an arbitrary integer list and assign a set of values to it respectively.
The fifth line declares a variable "sum" which will hold the result of summing all the elements in the list. The sixth line initializes "sum" to zero.
The for loop shown iterates through the integer list cumulatively summing its elements.
The result is displayed as written on line 12.
Hope it helps!
Metals are the greatest conductors of electricity. metalloids are fair conductors because they have features of both nonmetals and metals. Nonmetals are poor conductors.