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.
Console Menu
Output File
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!!!!!
Specifications
- 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 File
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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started