PLEASE FOLLOW THESE REVISED INSTRUCTIONS FOR STEP 1 You will create a class to store information about a student’s courses and calculate their GPA. Your GPA is based on the class credits and your grade. Each letter grade is assigned a point value: A = 4 p

PLEASE FOLLOW THESE REVISED INSTRUCTIONS FOR STEP 1 You will create a class to store information about a student’s courses and calculate their GPA. Your GPA is based on the class credits and your grade. Each letter grade is assigned a point value: A = 4 points B = 3 points C = 2 points D = 1 point An A in a 3 unit class is equivalent to 12 grade points (4 for the A times 3 unit class) A C in a 4 unit class is equivalent to 8 grade points (2 for the C times 4 unit class) This is a total of 20 grade points. Your GPA is calculated by dividing the total grade points by the total class credits, so in this case: 20 grade points / 7 credits = 2.85 GPA Create a class called StudentInfo that represents the following information (private data) about a student: Student name Total grade points Total credits Create the following public member functions. (Note that the program may not require all functions to be used, but they should all exist for a complete class.) Default constructor to initialize grade points and credits setName Set value for name getName Returns the name addClass receives as input the class units and grade, updates grade points and credits appropriately getGPA Calculates and returns the GPA displayStudent Displays all info about studetn Note that ONLY student name will be “set” from the outside. The grade points and credits will be modified with the method AddClass which takes as parameters the number of units for the class and the grade awarded. This method then adds the appropriate grade points to the total, and also adds the credits to the total. You will need a method to “get” the GPA which will calculate and return it. Write a program to test the class as shown below. You should ask for the student’s name, then allow them to add multiple classes. When done, display the GPA. Sample Output (note formatting): Enter Student name: Joe Smith Enter class credits: 3 Enter letter grade: A Another class? y Enter class credits: 4 Enter letter grade: C Another class? n Joe Smith, your GPA is 2.86 Another employee? (Y/N): n Press any key to continue

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational