Hello I need help
I am creating simple quiz app which contain 25 question
but cant finish screen and get results in new screen
25 question repeat in screen so I need that after 25 th question app close screen and open in new screen result . please help me
sorry for my bad english language i hope you understand me
Create a variable to keep track of the number of questions answered.
Each time a question is answered increase the variable by 1. Then check to see if the variable equals 25 (or the number of questions in the test if the number of questions can vary).
After increasing the variable by 1 create the following blocks:
If questions answered = number of questions in test
Then go to results screen
Else go to next question