Mathematical functions in an array
Hi all;
I am building a multipul choise quiz. There are two buttons, one with a value of "1" and the other with the value of "0". These are being fed into an array called (Answers). How do I add all the elements of the array together and then how do I perform mathematical functions on this new number to analys the percentage of correct answers and logically if the person has passed or not
thanks
James
