EXTRA CREDIT LAB: DUE Tuesday, June 22, 2021, before 10 AM Design and Implement a MODIFICATION/ ENHANCEMENT to the program that will again INPUT FROM A FILE, the Name of a Student into a ONE-DIMENSIONAL ARRAY and then, FOUR GRADES that will be read into a TWO – DIMENSIONAL (2-D) ARRAY. Each row in the TWO D-array will correspond to the subscript value of the student's name in the ONE D arrays. Calculate the Student's Average. Then, based on each students' grade-average, you shoul« calculate a LETTER GRADE (a CHAR data type) which should be stored in a third array which you can use in parallel with the other two arrays as detailed above. EACH STUDENTS' position/ subscript WILL be ASSOCIATED WITH THE ROW of th 2-D array STORE THE student's individual GRADES. THE OUTPUT SHOULD BE A TABULAR COLUM OF INFORMATION as the EXAMPLE BELOW ILLUSTARTES. NAME Exam 1 Exam 2 Exam 3 Exam 4 Average GRADE JOE 77 98 45 100 80.00 MARY 99 89 90 99 94.25 A etc. Note: For this EXAMPLE ONLY, The Text File CONTAINS: caleulute the JOE 77 98 45 100 Fil CONTAINS: MARY 99 89 90 99 etc. ...... II %3D

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
C++ please make simple
====================================================================
**EXTRA CREDIT LAB:**

**DUE Tuesday, June 22, 2021, before 10 AM**

Design and implement a **MODIFICATION/ENHANCEMENT** to the program that will again **INPUT FROM A FILE**, the Name of a Student into a **ONE-DIMENSIONAL ARRAY** and then, **FOUR GRADES** that will be read into a **TWO - DIMENSIONAL (2-D) ARRAY**. Each row in the TWO D-array will correspond to the subscript value of the student’s name in the ONE D arrays.

Calculate the Student’s Average. Then, based on each student’s grade-average, you should calculate a **LETTER GRADE** (a **CHAR** data type) which should be stored in a third array which you can use in parallel with the other two arrays as detailed above.

**EACH STUDENT’S** position/subscript **WILL BE ASSOCIATED WITH THE ROW** of the 2-D array **STORE** the student’s individual **GRADES**.

The **OUTPUT** SHOULD BE A **TABULAR COLUMN OF INFORMATION** as the **EXAMPLE BELOW ILLUSTRATES.**

| NAME  | Exam 1 | Exam 2 | Exam 3 | Exam 4 | Average | GRADE |
|-------|--------|--------|--------|--------|---------|-------|
| JOE   | 77     | 98     | 45     | 100    | 80.00   | B     |
| MARY  | 99     | 89     | 90     | 99     | 94.25   | A     |
| etc.  |        |        |        |        |         |       |

Note: For this EXAMPLE ONLY, The Text File CONTAINS:

```
JOE  77  98  45  100
MARY 99  89  90  99
…… etc.
```
Transcribed Image Text:==================================================================== **EXTRA CREDIT LAB:** **DUE Tuesday, June 22, 2021, before 10 AM** Design and implement a **MODIFICATION/ENHANCEMENT** to the program that will again **INPUT FROM A FILE**, the Name of a Student into a **ONE-DIMENSIONAL ARRAY** and then, **FOUR GRADES** that will be read into a **TWO - DIMENSIONAL (2-D) ARRAY**. Each row in the TWO D-array will correspond to the subscript value of the student’s name in the ONE D arrays. Calculate the Student’s Average. Then, based on each student’s grade-average, you should calculate a **LETTER GRADE** (a **CHAR** data type) which should be stored in a third array which you can use in parallel with the other two arrays as detailed above. **EACH STUDENT’S** position/subscript **WILL BE ASSOCIATED WITH THE ROW** of the 2-D array **STORE** the student’s individual **GRADES**. The **OUTPUT** SHOULD BE A **TABULAR COLUMN OF INFORMATION** as the **EXAMPLE BELOW ILLUSTRATES.** | NAME | Exam 1 | Exam 2 | Exam 3 | Exam 4 | Average | GRADE | |-------|--------|--------|--------|--------|---------|-------| | JOE | 77 | 98 | 45 | 100 | 80.00 | B | | MARY | 99 | 89 | 90 | 99 | 94.25 | A | | etc. | | | | | | | Note: For this EXAMPLE ONLY, The Text File CONTAINS: ``` JOE 77 98 45 100 MARY 99 89 90 99 …… etc. ```
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 7 images

Blurred answer
Knowledge Booster
ADT and Class
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education