Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 544 Bytes

README.md

File metadata and controls

7 lines (7 loc) · 544 Bytes

training-testing

This is a simple program that generates test questions and checks the user's answers. Question structure for storing the question and answer (lines 8-13) generateQuestions function generates a list of questions for the test (lines 15-24) shuffle Questions function shuffles questions in random order (lines 26-31) askQuestions function asks questions to the user and checks the answers (lines 33-44) main function generates questions, shuffles them and asks the user, then outputs the number of correct answers (lines 46-50)