Question: c++ please! 2. (50 points] A teacher wants a program to give students bonus points in a test. The program should ask for the original
2. (50 points] A teacher wants a program to give students bonus points in a test. The program should ask for the original test scores of 5 students, and it should store them in an array. The program then uses a function giveBonus to give each student 5 points in addition to the original score. However, the new score (i.e. the sum of the original score and 5 bonus points) cannot exceed 100. If it is higher than 100, the function must change the new score to 100. The function main() will display the new score of every student on the screen. At a minimum turn in the C++ code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
