Calculate Percentage

i have created one custom test which have to dropdown box for primary and secondary value if users primary and secondary item match with each other then its correct otherwise it is incorrect. now on that bases i want to calculate percentage that how many items users had selected correctly. so can you please guide me how to calculate percentage?

thanks in advanced.

Discussions have been disabled for this post