ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 2 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 26 May 2017 My Price 8.00

useclassto create the data structure of student

Hi..this is my next assignment, but I am having difficulties to finish it. I have about a week to do it so if someone can code for me and explain it to me. I would really apreciate it.

 

Assignment 7I this lab assignment,useclassto create the data structure of student records. Each recordcontain RUID, student name, quiz grades, and exam grades. The data structure should bedeclared as below. All member data of the class are declared as private data.classstudents {public:// all necessary member functions here;// using the friend function in classfriend void change_name() // passing necessary inputsprivate:struct record {int RUID;string first_name;string last_name;vector <double> quiz_grades;array <double,3> exam_grafes;};vector <record> student_records;};In this assignment, we also introduce thefriendfunction of the class. A function can bedeclared as friend of the class as seen as above. A friend function is not a member function ofthe class. However, it has access to the private data of the class. To call the friend function inthe main() function:int main() {students stdn;change_name ( stdn, <any additional input here>);}

Attachments:

Answers

(11)
Status NEW Posted 26 May 2017 04:05 AM My Price 8.00

-----------

Not Rated(0)