Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

table [ [ Student Name,Student ID Number,Credit Hours Enrolled,Current GPA ] , [ Tanya Opal, 3 1 0 5 , 1 2 , 2

\table[[Student Name,Student ID Number,Credit Hours Enrolled,Current GPA],[Tanya Opal,3105,12,2.66],[Zavier Davison,1313,6,3.30],[Therese Kassy,3259,14,3.24],[Jaylene Collin,4213,9,2.96]]
The best GPA belongs to Zavier Davison
Instructions (ASWERS MUST BE IN C++):
1- Write a class named Student that has the following member variables:
a. Name. A string that holds the student's name
b. Id number. A string that holds the student's ID number.
c. creditHours. An int that holds the credit hours enrolled.
d. GPA. A floating point that holds the students GPA
In addition, the class should have constructors, destructors, and member functions. Define the header file of the class.
2- Demonstrate your class in a program that creates an array of student objects data type, asking the user to enter the student data and calculate the best GPA obtained. Implement functions in your code.
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

Data Mining Concepts And Techniques

Authors: Jiawei Han, Micheline Kamber, Jian Pei

3rd Edition

0123814790, 9780123814791

More Books

Students also viewed these Databases questions