Lab 2 -- Classes and Objects

Write a class named Car that has (at least) the following member variables: In addition, the class should have the following member functions: Demonstrate the class in a program that creates a Car object, asks the user how fast to go, and calls the accelerate function that many times.
Then, display the speed of your Car object (by calling the accessor function).
Finally, call the brake function twice, and display the speed again.

Feel free to experiment and add other functionality as you deem appropriate!