(Solved) : Student Class C Assignment Write Program Two Files Header File Main Source File Header Fil Q42695832 . . .

Student Class C++ Assignment You are to write a program that has two files, a header file and a main source file. The header
C++Student Class C++ Assignment You are to write a program that has two files, a header file and a main source file. The header file will contain instructions for a class called Student. This class will have 5 private variables, ones for name, age, class (freshman, sophomore, junior, or senior), GPA, and how many classes they are taking. Then, you will need to create getter and setter functions. The getter functions will simply return the variable it pertains to. The setter functions will have a parameter to appropriately set the chosen variables. You will also need to create a constructor function that will assign numerical values to 0 and string values to “NA.” In the source file main function, You will create three students of the Student class and assign them values to their variables using the setter functions. Then you will use getter functions to neatly print out the information for each of the three students. The students’ information should be different from one another. You will upload the .cpp and.h files as a compressed folder to Blackboard. Show transcribed image text Student Class C++ Assignment You are to write a program that has two files, a header file and a main source file. The header file will contain instructions for a class called Student. This class will have 5 private variables, ones for name, age, class (freshman, sophomore, junior, or senior), GPA, and how many classes they are taking. Then, you will need to create getter and setter functions. The getter functions will simply return the variable it pertains to. The setter functions will have a parameter to appropriately set the chosen variables. You will also need to create a constructor function that will assign numerical values to 0 and string values to “NA.” In the source file main function, You will create three students of the Student class and assign them values to their variables using the setter functions. Then you will use getter functions to neatly print out the information for each of the three students. The students’ information should be different from one another. You will upload the .cpp and.h files as a compressed folder to Blackboard.

Expert Answer


Answer to Student Class C++ Assignment You are to write a program that has two files, a header file and a main source file. The he…

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us