View Single Post
Old 05-17-2011, 01:30 AM   PM User | #13
bullant
Banned

 
Join Date: Feb 2011
Posts: 2,699
Thanks: 13
Thanked 395 Times in 395 Posts
bullant is on a distinguished road
Quote:
Originally Posted by mllanapatriciac View Post
Another questions is, how would I calculate the percentage of what the user got for this code?
In the demo I posted earlier, the percentage score would be

Code:
numCorrectAnswers / questions.length * 100
bullant is offline   Reply With Quote
Users who have thanked bullant for this post:
mllanapatriciac (05-17-2011)