0

Creating and accessing a class in C++ language

Create a class called ToyotaCorolla with private data members speed and weight and public functions break () and slowdown (). Show using a C++ how to access the private and the public class

13th Jul 2018, 12:09 PM
Vincent Alulu
Vincent Alulu - avatar
2 Answers
+ 1
Would you please try to solve your homework by your own, if you get any issue doing, then show what you have did, and we'll let you know where you are doing mistake. It's for your own benefit, so many people here can make this code, but first we have to ensure that atleast you had tried once.
13th Jul 2018, 12:31 PM
Nikhil Dhama
Nikhil Dhama - avatar
23rd Jul 2018, 7:10 AM
Femi
Femi - avatar