# You are to write a C++ program to compute the final grade for a course

Question # 00005138 Posted By: expert-mustang Updated on: 12/10/2013 11:03 PM Due on: 12/11/2013
Subject Computer Science Tutorials:
Question

You are to write a C++ program to compute the final grade for a course. Student ID numbers, which should be pure numerical number and may be as large as nine digits, identifies students. The final grade is composed of two parts, homework average counts for 40 percent and test average counts for 60 percent. There are two tests; each has maximum points of 100. There are seven homework assignments, with maximum points of 25, 30, 40, 50, 35, 35 and 50 respectively. Homework average is computed by adding all the homework scores together then divide by maximum possible points. The final grade needs to be converted to letter grade, and the scale is listed below:

> 90 A
80 – 89.9 B
70 – 79.9 C
60 – 69.9 D

As long as user does not choose 5, the program prompts for two fractional numbers, perform the selected calculation on these two numbers, and display the result.

When one calculation is finished, the menu is displayed again. Unless user chooses 5, the program shall keep on running

prg5data.txt information:

NNN-NN-NNNN77.2 88.3 22 28 35 45 33 35 40
NNN-NN-NNNN97.5 90 25 30 38 48 34 35 50
NNN-NN-NNNN82.4 77.5 22.5 27 35.5 44 35 33 48
NNN-NN-NNNN65.5 67 20 25 28 40 27 25 35
NNN-NN-NNNN79.5 82 25 30 32 47 30 33 46
NNN-NN-NNNN90 86.5 25 30 40 46 34 35 50
NNN-NN-NNNN77 82.2 25 30 36 46 33 32.5 47
NNN-NN-NNNN67.7 72.5 23 28 35 44 30 30 44
NNN-NN-NNNN76.5 83.4 25 29 38 49 35 35 49

Tutorials for this Question
1. ## Solution: C++ program to compute the final grade for a course

Tutorial # 00004932 Posted By: expert-mustang Posted on: 12/10/2013 11:09 PM
Puchased By: 2
Tutorial Preview
The solution of C++ program to compute the final grade for a course...
Attachments
CFRac.zip (5181.52 KB)