Question: 0 CITP 3310 Create a class Studentinfo and include student's first name, last name, and three exams grades. It should also include the following functions:

 0 CITP 3310 Create a class "Studentinfo" and include student's first

0 CITP 3310 Create a class "Studentinfo" and include student's first name, last name, and three exams grades. It should also include the following functions: constructors properties, and two functions: calculateAvel) which calculate the average of three exams, and getletterGrade() which determine whether an A, B, C, D, or F should be returned. Create a testing program "StudentinfoTest" In the main function, the program prompts the user to enter name and three grades between 0 and 100 (include input validation). The program creates two objects based on the Studentinfo class, one object will pass user inform will be initialized using default constructor and pass user information via properties. The program calculates the average, determine the letter grade, and displays two students information on the screen, name, grades, average, and the tor, and another obiect Example Student Name: Bob Ho Exam1: 95 Exam2: 80 Exam3: 82 Average: 85.67 Letter grade: B A: 100-90; B: 89.99-80; C: 79.99-70; D: 69.99-60; F

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