mwangipaul / c-automobile-program Goto Github PK
View Code? Open in Web Editor NEWSuggest creating a Car class with attributes currentSpeed, previousSpeed, etc. Add the functions you need to this class, like accelerate(double amt), brake(double amt), etc.