Answer to Question #251329 in C++ for Imran

Question #251329

Write a definition of class named Race. It has following private data member

 carNo (int)

 driverID (int)

 carModel (int)

The class has one constructor Race (int, int, int) that initializes the values of carNo, 

driverID and carModel. Race class has following member functions

 void InputValues( ) // this will be used to input values of data member of Book 

object from user 

 void setValues(int cn, int di, int cm); // it will assign values of cn, di and cm to 

carNo, driverID and carModel respectively 

 void display( ); // it displays the value of private

Create two object of Rave class. Assign values using InputValues and setValues function and display them using display function. 


1
Expert's answer
2021-10-14T05:03:30-0400
Dear Imran, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS