6c0a1fc15b9c986ece48408cfeb4015b323ff1af
Replace the compile‑time CAR_MASS constant with a runtime‑settable _member _carMass. Add Engine::setCarMass, default it to 1200 kg, and use it in the acceleration calculation. Prompt the user for the car mass on startup via Serial and update the enable/disable messages.
Description
Languages
C++
93.6%
C
6.4%