Given a class named Car containing three properties: the Int property year, the String property make, and the Int property speed.
Add the following member functions to the class:
accelerateadds 5 to thespeedproperty each time it's called;deceleratesubtracts 5 from thespeedproperty each time it's called. The speed cannot be less than zero, so if you get a negative speed, just make it equal to 0.