On the next frame after your last question, create a screen with the message that the user will see if they pass. On the frame after that, create another screen with the message that the user will see if they fail. Insert a stop on each frame; also create a button on each frame that will take the user back to the beginning to take the quiz again.