#include <iostream>
using namespace std; // consider removing this line in serious projects
class Car{
private:
int speed;
public:
void slowDown();
void speedUp();
};
void Car::slowDown(){
speed -= 5;
}
void Car::speedUp(){
speed += 5;
}
int main() {
Car BMW;
BMW.speedUp();
BMW.slowDown();
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOyAvLyBjb25zaWRlciByZW1vdmluZyB0aGlzIGxpbmUgaW4gc2VyaW91cyBwcm9qZWN0cwoKY2xhc3MgQ2FyewoJcHJpdmF0ZToKCQlpbnQgc3BlZWQ7CglwdWJsaWM6CgkJdm9pZCBzbG93RG93bigpOwoJCXZvaWQgc3BlZWRVcCgpOwp9OwoKdm9pZCBDYXI6OnNsb3dEb3duKCl7CglzcGVlZCAtPSA1Owp9Cgp2b2lkIENhcjo6c3BlZWRVcCgpewoJc3BlZWQgKz0gNTsKfQoKaW50IG1haW4oKSB7CglDYXIgQk1XOwoJQk1XLnNwZWVkVXAoKTsKCUJNVy5zbG93RG93bigpOwoJCglyZXR1cm4gMDsKfQ==