Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you please solve this program for c++ Exercise 2. Student Grade Report Concepts involved - Input Calculation Constant as a program preference - Variable

Can you please solve this program for c++

image text in transcribed

Exercise 2. Student Grade Report Concepts involved - Input Calculation Constant as a program preference - Variable types: String, Float Output, formatting -Repetition (while loop) Accumulation (grade net total) String concatenation, accumulation (grade report) Decision (Double flow deviation) Decision (Multiple flow deviation) Part 1. The program should calculate the student's average, given his/her 4 grades on exams E1, E2, E3, and E4. Request the student's name for proper reporting Note: En E [0, 100.0] Example Ana Lykestokad scored an average grade of 99.7 Part 2. Create a constant to hold the number of exams. This constant must be an integer greater than or equal to 2. You don't have to check the constant's value, but comment your code to make this clear to a future user of your software. The idea is that this should work as a program preference that can be changed prior to execution. Note however, that the constant's value should stay unchanged while running the program Tip: Use repetition to get the n grades. And use [the concept of] accumulation Part 3. The program should be able to report grades for multiple students. If requested, repeat the process for a new student whenever the name and all the grades for the current one were successfully entered. Finally, when the user informs that there aren't new students, print the grade report. Example Add another student to the grade report (y)? n Student Ana Lykestokad Good Student Another Student And Another Student Average 99.7 92.3 37.8 62.5 Part 4. Add the student's result to the report. Print either Pass or Fail depending on the student's average. Consider 60.0 as the passing threshold. Part 5. Add the student's final grade to the report using A, B, C, D, or F. Use FIT's grade scale

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Databases Illuminated

Authors: Catherine M Ricardo, Susan D Urban

3rd Edition

1284056945, 9781284056945

More Books

Students also viewed these Databases questions

Question

1.who the father of Ayurveda? 2. Who the father of taxonomy?

Answered: 1 week ago

Question

Commen Name with scientific name Tiger - Wolf- Lion- Cat- Dog-

Answered: 1 week ago