adding values from drop down menus
have an html form with 14 drop down menus. Each with two answers of values of 0 and one value of 1.
0equals an incorrect answer. 1 equals a correct answer.
Therefore if the user answers all questions correctly and I add all the values together they get:
I can then work out the percentage of correct answers very easily.
Working out the % if a user gets 6 or 7 right is harder because there are literally hundreds of combinations of 1 and 0's.
Question is how do I work out how many correct answers the user has got as I cant add together variables.