A C++ console application that processes student assignment data from files and generates grade reports with letter grades.
This grading system reads student information and assignment scores from a file, calculates percentage grades, determines letter grades, and displays formatted grade reports. The program demonstrates file I/O, array manipulation, string processing, and formatted output in C++.
- File-based Input: Reads student data and scores from external files
- Grade Calculation: Computes percentage grades from multiple assignments
- Letter Grade Assignment: Converts percentages to traditional letter grades
- Name Formatting: Automatically capitalizes student names properly
- Formatted Reports: Displays professional-looking grade tables
- Multiple Students: Processes and displays results for multiple students
- Gender Tracking: Includes gender data in student records
- C++
- File streams (
<fstream>) - C-style strings and character manipulation (
<cctype>,<cstring>) - Formatted I/O (
<iomanip>) - Visual Studio project structure
The input file should contain student records with:
- Student name
- Gender
- Number of assignments
- Points possible per assignment
- Individual assignment scores
- C++ compiler (Visual Studio recommended)
- Windows operating system
- Input data file
- Open the solution file in Visual Studio
- Build the solution (F7 or Build > Build Solution)
- Run the executable or press F5
- Prepare an input file with student data
- Run the program
- Enter the filename when prompted
- View the generated grade report
Student Gender Percentage Grade
================================================
Smith, John Male 87.5% B
Doe, Jane Female 94.2% A
Johnson, Bob Male 76.3% C
- A: 90-100%
- B: 80-89%
- C: 70-79%
- D: 60-69%
- F: Below 60%
Christian Burnett