Pls can anyone help me with this



Decision-Making and Iterations



Sr. No.

Assignment Question

1

Howell University is an accredited European university, which offers a range of courses to its students. It strives to give students the very best in terms of education and course content.

Now the university management is introducing a new IQ testing system for its MBA students, which is an add-on to the traditional Examination System. This tests the IQ of the students by testing them on four different subjects like Aptitude, English, Mathematics and General Knowledge.

Consider yourself to be a part of the software development team that is supposed to design the application in C++. First the application asks the student the number of attempt. If student responds with a value higher than 1, then the application terminates and displays a corresponding message. However, if the student is attempting the test for the first time, it displays the following menu: 1. Aptitude

2. English

3. Math

4. GK

5. Exit



On entering a value between 1 and 4, the application displays the corresponding question. Note that the student can attempt only once for each subject listed.



When a student enters the correct answer for the question, the score for that subject gets incremented by 10 points. Once the student appears the test for all the subjects, he/she can choose to exit the application. After selecting the Exit option, the student can get the total marks printed on the screen.

The total scores should be calculated by adding up all the individual scores in each subject. Next the application displays the following based on the score: Bonus points earned

Total score out of 50

Message on IQ level

The application displays the bonus points based on the following conditions: 1. No bonus point is given, when the total score equals to 10.

2. A bonus of 2 points is given, when the total score equals to 20.

3. A bonus of 5 points is given, when the total score equals to 30.

4. A bonus of 10 points is given, when the total score equals to 40.

The message on IQ level is displayed on the basis of following conditions: 1. If the final score equals 10, then a message is printed saying “Your IQ level is below average".

2. If the final score equals 22, then a message is printed saying “Your IQ level

is average".

3. If the final score equals 35, then a message is printed saying “You are intelligent".

4. If the final score equals 40, then a message is printed saying “You are a genius".



If the final score equals 0, then a message is printed saying “You need to re-appear the test".








please try first and come back when you get stuck
Topic archived. No new replies allowed.