Question: (C++) Create a program that allows the user to display one of two input files. These files will contain information from a Student Registry. One

(C++)

Create a program that allows the user to display one of two input files. These files will contain information from a Student Registry. One file will contain the full student name and the students grades for Homework Average, Midterm, and Final Exam. The second file will contain the students full name and their present or absent totals. The sample input files are included. Your program should output according to the option the user selects.

  • You will need to use do.while, while, and/or for loops.
  • You must nest your loops.
  • Readability is important. Ensure your output uses proper spacing and positioning.

Input Files

Attendance File_________________________________________________________

Mickey Mouse 14 0

Minnie Mouse 10 4

Donald Duck 10 4

Daisy Duck 13 1

Grade File_____________________________________________________________

Mickey Mouse 100.0 100.0 100.0

Minnie Mouse 91.35 100.0 89.5

Donald Duck 66.85 100 89.5

Daisy Duck 93.5 95.0 95

Console Menu

COMMAND MENU

G - Student Grades

A - Student Attendance

Q - Exit program

Console Student Grades

Student Name Homework Midterm Final Exam Course Grade

Mickey Mouse 100.00 100.00 100.00 100.00

Minnie Mouse 91.35 100.00 89.50 92.62

Donald Duck 66.85 100.00 89.50 79.14

Daisy Duck 93.50 95.00 95.00 94.18

Class Average: 91.48

Progressing Complete!!!!!

Console Student Attendance

Student Name Present Perc% Absent Perc%

Mickey Mouse 14 100.00 0 0.00

Minnie Mouse 10 71.43 4 28.57

Donald Duck 10 71.43 4 28.57

Daisy Duck 13 92.86 1 7.14

Class Present Average: 83.93%

Class Absent Average: 16.07%

Progressing Complete!!!!!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!