Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Answer in Visual Basic Programming Part 2 Create a class named Person with the following members: first name as a string last name as a

Answer in Visual Basic Programming Part 2
Create a class named Person with the following members:
first name as a string
last name as a string
birthday as a datetime
Create a class named Student that inherits from Person with additional members: homeroom as integer
grade as string (expected input: kindergarten, 3rd, fifth, freshman, etc.)
grade point average as double
graduation year as datetime
Use a loop to prompt the user to enter the necessary data to create 5 instances of a Student and add them to a list of Students. Assume the user provides good data. This code should be in a separate subprocedure.
Go through the list of Students and display the information of students that have a GPA greater than or equal to 3.0. This code should be in a separate subprocedure.
a. The graduate year should only display a year, not a month, day, or time.
Your main subprocedure should call the procedures defined in steps 3 and 4.
Use good judgment on your input/output so that it is user friendly.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions