Quick actions

cmd+k|ctrl+k

Navigation

Languages

The Up and the BMW

Snippet info

Language

Cpp

Visibility

public

Author

johan.van.breda

Created

2019-08-01T10:12:02Z

Updated

2019-08-05T08:28:14Z

#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;
}
INFO