Question: Write a C++ program to validate whether a matric student qualify to register for the BSc Computer Science degree. The student qualifies if he or

Write a C++ program to validate whether a matric student qualify to register for the BSc Computer Science degree. The student qualifies if he or she is has achieved a minimum of 60% in Mathematics, Physical Science and English. The program should use the assert function to validate that the marks of the students are not more than 100%. The program should then display a message to inform the student whether he qualifies or not. Run your program twice, once to test it with marks for Mathematics, Physical Science and English less than or equal to 100%; and the second time testing it with one of the marks for Mathematics, Physical Science and English more than 100%. Submit the output for both runs.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!