//Dieses Datei wurde von Marcel Müller geschrieben und unter der GPL veröffentlicht //Informationen gibt es unter www.einfachsaufen.de //Autoren die das Script weiter bearbeiten dürfen ihre Änderungen an dieser Datei erst ab HIER vornehmen #include #include using namespace std; class schueler { public: string nachname; string vorname; string strasse; int plz; string ort; int deutsch; int englisch; int mathe; int technik; }; int main(void) { schueler a; cout << "Geben Sie die Daten bitte ein." << endl; //Für die Schüler-Klasse cout << "Nachname: "; cin >> a.nachname; cout << "Vorname: "; cin >> a.vorname; cout << "Strasse: "; cin >> a.strasse; cout << "Postleitzahl: "; cin >> a.plz; cout << "Ort: "; cin >> a.ort; //Für die Noten-Klasse cout << "Deutsch-Note: "; cin >> a.deutsch; cout << "Englisch-Note: "; cin >> a.englisch; cout << "Mathematik-Note: "; cin >> a.mathe; cout << "Technologie-Note: "; cin >> a.technik; cout << endl << "Die Eingabe lautet:" << endl; cout << "Nachname: " << a.nachname << endl << "Vorname: " << a.vorname << endl << "Strasse: " << a.strasse << endl << "Postleitzahl: " << a.plz << endl << "Deutsch-Note: " << a.deutsch << endl << "Englisch-Note: "<< a.englisch << endl << "Mathematik-Note: "<< a.mathe << endl << "Technologie-Note: "<< a.technik; return 0; }