Totals and Counters
Counters There are a number of times in computer programming where the user needs to determine the number of times a certain event occurs. Examples: Counting the number of times a person enters a number (in order to find the average) Determining how many rolls of two dice were needed before a 6 was rolled…