Programming Assignment #10 Solution

$30.00

Category:

Description

Write an application named MyGrades10 with two or more classes that accomplishes the following tasks:

  1. Reading from a data file, course and instructor information and student’s records with names and one or more test scores per line. Assume all students’ records have the same number of data fields. The data file has the following format:
    1. Course name
    2. Instructor’s name
    3. Number of students
    4. Number of tests
    5. University
    6. Offering semester and year
    7. Student records: Students’ names followed by tests scores.
  2. The program should compute the following:
    1. Student’s total, average, and grade
    2. Test’s average score
    3. Student’s record with the highest total
    4. Student’s record with the lowest total
  3. Output header with course information
  4. Students’ records with their totals, averages, and grades
  5. The program is well structured, documented, and readable.
  6. The output is well labeled and aligned
  7. Zip and attach all your files.

 

Sample Input:

CS1301

Fares

18

2

VSU

Fall

2013

Nicholas   20       30

Lebron     90           95

Justyn     15         25

Bilal      60                             65

Jamel      75          76

Brooks     82        85

Matthew    62    62

Jonathan   95      96

Yalanda    87        86

Raven      77         78

Zachary    65        66

Michael    81       84

Charles    97        96

Edward     88       87

Giovanni   73      75

April      12            22

Nicholas   100     100

Zebedee    55     56

Sample output:

*******************************************************

 

Course Name:                   CS1301

Instructor’s Name:          Fares

Semester:                           Fall

Year:                                      2013

School:                                 VSU

 

*******************************************************

 

NUMBER NAME            TEST1 TEST2 Total  Grade

1 Nicholas                     20           30     50     F

2 Lebron                       90           95   185     A

3 Justyn                         15           25     40     F

4 Bilal              60          65   125     D

5 Jamel                          75           76   151     C

6 Brooks                        82           85   167     B

7 Matthew                   62           62   124     D

8 Jonathan                   95           96   191     A

9 Yalanda                      87           86   173     B

10 Raven                        77           78   155     C

11 Zachary                     65           66   131     D

12 Michael                    81           84   165     B

13 Charles                     97           96   193     A

14 Edward                     88           87   175     B

15 Giovanni                  73           75   148     C

16 April                           12           22     34     F

17 Nicholas              100        100   200     A

18 Zebedee                  55           56   111     F

 

AVERAGES                     68.56     71.33

 

Student with lowest Average

April                           12        22     34     F

 

Student with Highest Average

Nicholas                      100   100   200     A

**************** Have a good day *****************

 


error: Content is protected !!