#include <iostream>
using namespace std;
int main() {
    bool winter = false;
    char auswahl, typ;
    cin >> auswahl >> typ;
    switch (auswahl) {
    case 'M':
    cout << "Motor" << flush;
    case
    'S':
    cout << "Segel" << flush;
    case
    'B':
    cout << "Boot" << flush;
    default:
    if(winter){
    if(typ == 'S')
    cout << "mitGPS" << endl;
    else
    cout << "ohneGPS" << endl;}
}
    return 0;
}
 

goto line:
Compare with:
text copy window edit this code post new code