Answered step by step
Verified Expert Solution
Question
1 Approved Answer
c++ Question 3 Write a program with at least six (6) functions by using while loop. The program should be able to count and display
c++
Question 3 Write a program with at least six (6) functions by using while loop. The program should be able to count and display the number of student with grade A+ (90 - 100), grade A (80 - 89), grade B (70-79) and grade E (0 - 69). The program should also be able to display average of marks. The program should be able to check that the marks must be between 0 and 100. The first input is the number of students, for example 3. Then, the user must key in 3 marks. Finally, the program should be able to display the intended outputs. Input Validation: Display an error message if the user enters invalid inputs and ask the user to key in the new inputs by using loop or iterationStep 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