answersLogoWhite

0


Best Answer

It is not common, but possible. (If the list members are numbers.)

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Does a sentinel variable keep a running total?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What variable keeps a running total?

The answer is "an accumulator." "A running total is a sum of numbers that ACCUMULATES with each iteration of a loop. The variable used to keep the running total is called an accumulator." It can be any variable you want! It could be total, tot, etc. Here is an example: total = 0 randoms = [random.randRange(0, 99999)] * 100 # Creates a list of 100 random numbers for number in randoms: total += number print(total) # Py3k print statement. Sample output: 35460


A person such as a Soldier assigned to keep guard?

sentinel


What does Variables mean for a science project?

A variable means that something that you can change, measure, or keep the same. Example: Responding variable: The variable you can measure. Controlled variable: The variable you keep the same. Manipulated variable: The variable that you change.


What is a good way to keep a running total of the number surveyed to make a table?

jensen...


What variable is the one that you want to keep the same?

The independent variable


How do you add n numbers by using c plus plus?

If you're reading the numbers sequentially, keep a running total. Alternatively, pass all the numbers to a function using a variable-length argument. Alternatively push the numbers into a vector then sum the vector with the following function: void sum_vector(std::vector<int> a) { int total=0; for(int i=0; i<a.size(); ++i) total+=a[i]; return(total); }


Is a continuous variable the same as a dependent variable?

definitely not. Dependant variable is a variable that you measure . A controlled variable is something that you keep the same in the experiment.


What is an independent variable science im in grade 7?

The independent variable is the variable you change. The dependent is the variable you measure and the contol variable is the variable that you keep the same.


Simile Definnition of sentinel?

It is the first node in which the lymphatic drainage occura in a particular area.


What is the type of variable that a researcher wants to keep from affecting an experiments outcome?

Extraneous variable


Why is owl called forest's sentinel?

because like a soldier, it's job is to stand and keep a watch at night.


What is a manipulating variable?

A manipulative variable is something that you will keep the same.