my friend give me some tips .. the output it should be show all the answer after the quiz then, it will calculate the score of the quiz if he/she pass the quiz
Get a variable for the persons scores which increases with a correct answer.
Display all the corrct answers(a,b,c,d) at the end with their respective question numbers.
Display the final score.