Create a class of type student .Members will include: name, gpa, rank (year) Make sure all data is private and all functions are public. Write member functions to:Set or initialize the dataRetrieve the data (get’em and set’em )Announce names of students who are eligible for a scholarship (those who have a GPA of 3.0 or higher)The program will declare at least two objects (pupils) of your new class and test each of the functions (OR if you would like to try your hand at vectors, create them dynamically- this may require a little research/review on your part).

Question

Create a class of type student .
Members will include: name, gpa, rank (year)
Make sure all data is private and all functions are public.
Write member functions to:
Set or initialize the data
Retrieve the data (get’em and set’em )
Announce names of students who are eligible for a scholarship (those who have a GPA of 3.0 or higher)
The program will declare at least two objects (pupils) of your new class and test each of the functions (OR if you would like to try your hand at vectors, create them dynamically- this may require a little research/review on your part).

Expert Answer

Want to see the step-by-step answer?

Check out a sample Q&A here.

Want to see this answer and more?

Experts are waiting 24/7 to provide step-by-step solutions in as fast as 30 minutes!*

*Response times vary by subject and question complexity. Median response time is 34 minutes and may be longer for new subjects.

Related Computer Science Q&A

Find answers to questions asked by student like you

Q: please just help with parts afterr //     3) Write friend function for the following class to overlo...

A: A friend function is defined outside the context of a class, but it has the rights to access the mem...

Q: Code needed for the following: Use the final numerical grade to look up the corresponding letter gra...

A: This C++ program obey the following rubrics: -In main method – Declaring and initializing the variab...

Q: Describe the process of how to solve the substitution cipher below and solve it: ZFSZB YESUK SQYDJ S...

A: The process is as follows:scan to look for single letter words – they would most likely correspond t...

Q: whats a string

A: String:A string is a data type used in programming, such as an integer and floating point unitThe st...

Q: CAREER B VENT LYY a sqeo1 NON 0LO no o N aND Welcome | MYSAIL Oakland Un X Th Course: CSI-1420-43702...

A: This program is written in C language. Year is given as input and Easter Sunday's Month and day is c...

Q: I have a bit of code that is intended to read a file ("students.txt") and calculate the average, hig...

A: Description:The following program is to print the highest, lowest, and average of test scores by rea...

Q: What are the different computer languages? Give a brief description of each.

A: DefinitionLanguage is the basic way of communication between the computer systems and to communicate...

Q: You are given a function called is_prime  which consumes a positive number and returns True if the n...

A: Before solving this question first, you should know some functions definitions :Prime number: Primar...

Q: Which of the following is NOT logically equivalent to the rest: wx~y + w~z + wxyz + w~yz w(x + ~y +...

A: Using a Karnaugh Map to find the minimal sum-of-products for the expressions we get the following (c...