0

Did someone know how to do this , i need help đŸ„ș

Write a C++ program using do-while loop that continuously requests a mark to be entered. If the mark is less than 0 or greater than 100, your program should print a message informing the user that an invalid mark has been entered; else, the mark should be added to a total. When a mark of 999 is entered, the program should exit the repetition loop and compute and display the total and the average of the valid marks entered, as well reporting the number of valid and invalid marks read. Test and verify your program by using the following test data: 88, 77, -20, 56, 79, 85, 95, 101, 99 90, -80, 120, 121, 88, -99, 80, 999 For the above test data, your output should look like the following: ************************************************ Total of valid marks entered 837 Average mark 83.7 Number of valid marks 10 Number of invalid marks 6 ************************************************

14th May 2020, 7:57 AM
Martynna
4 Answers
26th May 2020, 11:17 AM
Olivia
Olivia - avatar
0
I'll give it a try, I hope I can help â˜ș
26th May 2020, 10:20 AM
Olivia
Olivia - avatar
0
Thank you so much đŸ™đŸ»đŸ™đŸ»đŸ™đŸ»
6th Jun 2020, 1:29 PM
Martynna
0
Your welcome 😁
6th Jun 2020, 1:41 PM
Olivia
Olivia - avatar