Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a student class that implements the following class diagram that will calculate and display student cumulative GPA: Student Attributes: First Name Last Name Grade
Create a student class that implements the following class diagram that will calculate and display student cumulative GPA:
Student
Attributes:
First Name
Last Name
Grade Point
Credits
GPA
Methods:
init
CalculateGPA
GetGPA
Your program will then use the methods of the student class to accomplish the following:
Prompt the user for the first and last name of the student.
Create a student object by passing the first and last name to the init method.
Create a loop that prompts the user for the following: The credits and grade for each course the student has taken.
Once the user ends the loop display the students cumulative GPA.
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