Question
1_ First of all, the name.txt and surname.two files named txt should be created and 50 different names and surnames should be added to these
1_ First of all, the name.txt and surname.two files named txt should be created and 50 different names and surnames should be added to these two files.
2_ When the program runs, the answer key to 10 Correct/Incorrect questions is first provided by the user ,must be entered.
3_ People should be generated based on the number of People entered.
(you will receive the number of people from the input, you will produce people according to the number received. For example: User 5 logged in. 5 Users will be produced. a maximum of 2500 can be entered.)
4 - The program should produce dec 0-2500 people.
5 - Name, surname, age information of people should be generated randomly. (name and surname information will be read from the relevant file)
6 - People between the ages of 18 and 60 should dec a random value.
7 - Answers belonging to people should be generated randomly, and the generated answers are the answer entered when the program is running it should be evaluated according to its key.
8 - Correct answers D should be evaluated to be Y for incorrect answers and displayed on the screen.
9 - The total score should be calculated so that for each correct answer there are 10 points.
10 - Sorting should be done according to the user's preference on the basis of first name, last name, age or points.
11 - People created according to the names and surnames read from the files, edit your program so that it is not repeated (the same name and last name once).
Question is very easy but my time is not. so please C++ answer this question ty for all solutions. and correct output image pls
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started