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)
-
Notifications
You must be signed in to change notification settings - Fork 0
0000FlyBear0000/training-testing
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This is a simple program that generates test questions and checks the user's answers.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published