Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment 2 as per c++ programming An inline function for the programmed by. Three regular functions, one for getting the data on the four students,

Assignment 2 as per c++ programming

An inline function for the programmed by. Three regular functions, one for getting the data on the four students, one for calculating the GPA, and one for the output. One of the functions must be recursive.

This project requires the use of various control structures for calculating the grade point averages (GPA) for four students. Your program should ask for the grades for each student. Each student will have five grades. After all the students grades have been entered, the program will then display each student name and their calculated GPA.

Project Requirements:

1. Find a function to use recursion in and use it.

2. Do not include any unused header files.

3. Grades can be entered in upper or lower case.

4. The input will be A, B, C, D, & F. Standard letter grades.

5. GPAs are 4.0, 3.0, 2.0, 1.0 & 0.0 respectively

6. Format output to 3 decimal points (i.e. 3.500, 2.750).

7. There will be only four students (Freddie, Jane, Jonathan, & Mary)

8. Each student will have 5 grades to enter.

9. The final output for the GPAs will be in columnar output.

10. Only catch common incorrect letter grades (i.e. K, Z, O, etc).

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_2

Step: 3

blur-text-image_3

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

Spatial Database Systems Design Implementation And Project Management

Authors: Albert K.W. Yeung, G. Brent Hall

1st Edition

1402053932, 978-1402053931

More Books

Students also viewed these Databases questions

Question

What is the difference between mediation and arbitration?

Answered: 1 week ago

Question

2. Place a value on the outcomes.

Answered: 1 week ago