Answered step by step
Verified Expert Solution
Link Copied!

Question

00
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

image text in transcribed

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 iteration

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions