Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

solve all questions, write using basic C++ functions Each student has a Name, ID, and GPA. Write a C++ class to track information about students.

solve all questions, write using basic C++ functions
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Each student has a Name, ID, and GPA. Write a C++ class to track information about students. Name your class Student. Within the class, define the following: A. Member variables to track Name, ID, and GPA. ( 3 points) B. Setters and Getters for each member variable with appropriate validation for the GPA and ID. GPA should be 100 and 0, while ID should be >0. ( 6 points) C. A member function called GetRating which returns a string. The function returns the status according to the following table: ( 6 points) D. Write a main function that: - Asks the user to input the number of the students in the class. - Then define an array of students for the given number. - Finally, read the students information (ID, Name, GPA) and store in the defined array, and finally print a report of the students' ratings. ( 9 points) Assume we have 33 Matrix. Different operations can be performed against the matrix as shown in below example. Note: the first value 7 represents adding first cell Note: the first value 6 represents multiplying 3 from A with first cell from B:2+5=7 with first cell from A:23=6 Complete below class and define additional functions as the following: class Matrix f public: Note: the first value 35 represents multiplying first row from A with first column from B : Matrix( ) for (int r=0;r

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

Privacy In Statistical Databases International Conference Psd 2022 Paris France September 21 23 2022 Proceedings Lncs 13463

Authors: Josep Domingo-Ferrer ,Maryline Laurent

1st Edition

3031139445, 978-3031139444

More Books

Students also viewed these Databases questions