Question: Business requirements: ( Grade Point Average Calculation File Processing ) Often programmers will need to update and maintain a program they already developed and is

Business requirements:(Grade Point Average Calculation File Processing)Often programmers will need to update and maintain a program they already developed and is in use. This week, we will update lab 10,where we developed a Grade Point Calculation program.The update is to:
Use a file to read and write student grade point average information
.We will store the data into a structure.
Then write to a file called student.dat.R
ead the data from the filestudent.dat and display data on the screen.
Other than using files to read and write too, we will use the same requirements from lab 10:
Show me the Steps to Write a program to prompt a teacher to enter student information to calculate grade point average (GPA)by prompting user to enter number of students, number of classes taken, student id,first name, last name, and grades received in a semester. The program will display student information and calculated GPA.
Technology requirements:
Use a structure to store student information:
Student ID (an integer number entered by user)S
tudent First Name entered by user (character array /string)
Student Last Name entered by user (character array /string)
Calculate GPA based on letter grades and number of classes taken (float data type)
User to input number of students to calculate grades for
User to input number of classes each student taken.
Use of function to calculate and return the GPA
Function will ask user to enter letter grade for each classuse a switch statement for valid letter grades of A,B,C,D,and F (invalid letters must be reentered)
Each case converts each letter to a numeric grade to then total up and divide by number of courses.A =4B =3C =2D =1F =0
Function returns GPA total grade points divided by number of courses.
Store return value of GPA into student structure.
Write the student data to a file: (do not write each grade to the file, just the GPA).Here is the data to be written and read from the student.dat file:
Student ID
Student First Name
Student Last Name
Student GPA
Read student data from the file and display the student data on the screen (student Id,student first name, student last name, GPA).
Pseudo code.Remember the Input, process, output model. Look at what the input should be,what the process is,and what the output should be.Use the code examples in the book and our week 1lab to understand how to code the input, process, and output.First go into the problem statements above and highlight what needs to be done. Remember chapter 3,the decomposition and using stepwise analysis when developing an algorithm/pseudo code. You will create one array in this program.Pseudocode is part of your design and documentation grade.
Please submit your pseudocode with your code and screenshots of test cases. You will also need screenshots of the student.dat file or upload the student.dat file.
Test Data:
School Grade Transaction Processing System
Enter student data:
Enter Number of students to enter grades for: 2
Enter information for Students:
Student ID: 12345
Enter first name: Bill
Enter last name: Studious
Enter Number of Grades to enter: 3
Enter Letter Grade: A
Enter Letter Grade: A
Enter Letter Grade: b
Student ID: 67890
Enter first name: Charles
Enter last name: Brown
Enter Number of Grades to enter: 2
Enter Letter Grade: C
Enter Letter Grade: D
Displaying Student Information from file student.dat:
Student Id: 12345
First Name: Bill
Last Name: Studious
GPA: 3.67
Student Id: 67890
First Name: Charles
Last Name: Brown
GPA: 1.50

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 Programming Questions!