mirror of
https://inf-git.fh-rosenheim.de/studavrije7683/cplusplus-training.git
synced 2026-06-29 01:23:21 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#include<iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
cout << "Willkommen bei der Bauernhofverwaltung" << endl;
|
||||
|
||||
system("PAUSE"); /*Compilerabhängig, evtl. auch getchar(); oder es kann entfallen */
|
||||
return 0;
|
||||
|
||||
};
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main()
|
||||
{
|
||||
cout << "Vorname: Max" << endl;
|
||||
cout << "Nachname: Mustermann" << endl;
|
||||
cout << "Alter: 21" << endl;
|
||||
|
||||
cout << "Vorname: Erika" << endl << "Nachname: Engel " << endl << "Alter: 18" << endl;
|
||||
|
||||
system("pause");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user