Say you had an election, and you needed to tally the votes for each candidate. All you need to do is enter the name of each candidate once it is read. Then, click the ADD button (or press the ENTER key) to add it to the array, as an array element. If you made a mistake, just click the REMOVE button to remove the last element added. The tally results are updated automatically. Each name will show the number of votes it received as well as the total votes cast for the entire election.
Type in the ARRAY ELEMENT:
No comments:
Post a Comment