rendered paste body#include <iostream>using namespace std;class Fahrzeug{ public: Fahrzeug (char * klasse) { cout << "Fahrzeug gerufen von " << klasse << endl; }};class Auto :virtual public Fahrzeug{ public: Auto() :Fahrzeug("Auto") { cout << "Auto" << endl; }};class Boot :virtual public Fahrzeug{ public: Boot() :Fahrzeug("Boot") { cout << "Boot" << endl; }};class Amphibienfahrzeug :public Auto, Boot{ public: Amphibienfahrzeug() :Fahrzeug("Amphibienfahrzeug") { cout << "Amphibienfahrzeug" << endl; }};class Supergefaehrt :public Amphibienfahrzeug{ public: Supergefaehrt() :Fahrzeug("Supergefaehrt") { cout << "Supergefaehrt" << endl; }};int main(){ Fahrzeug f("Benutzer"); Auto a; Boot b; Amphibienfahrzeug af; Supergefaehrt s;}