Question: Write a C++ program that uses a structure named Student to store the following information about a student: name, id, total credit earned (not including
Write a C++ program that uses a structure named Student to store the following information about a student: name, id, total credit earned (not including current semester), and GPA (not including current semester). The program should create one Student variable, and ask the user to enter values for its members, and call a function to display the student information in a clearly formatted manner. Next the program asks the user to enter number of credits took in the current semester and GPA got for current semester (Assume that it is the end of semester now), then pass Student variable and the credit and the GPA of current semester to the function to update the student information, and also call a function to display the student updated information in a clearly formatted manner.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
