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
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