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

c++ please! c++ please! 2. (50 points] A teacher wants a program to give

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

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!