The Up and the BMW

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> using namespace std; /* * Create a Car class and if needed derived classes * * The system models cars with an engine, breaks and seats * Every car can return the number of cilinders of the engine, its type of breaks (drum/disk) and type of seats (leather/cotton) * * At least two types shall be avaible: * 1) an Up with 3 cilinders, drum breasks and cotton seats * 2) a BWM 530 with 6 cilinders, disk breaks and leather seats * */ int main() { /* Create the Up instance and cout the cilinders, breaks, seats */ /* Create the BMW instance and cout the cilinders, breaks, seats */ return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines