|
@ -84,4 +84,14 @@ int Modus2() { |
|
|
scanf("%s", Mensch1); |
|
|
scanf("%s", Mensch1); |
|
|
printf("\n\t\t\t\tName Mensch 2: "); |
|
|
printf("\n\t\t\t\tName Mensch 2: "); |
|
|
scanf("%s", Mensch2); |
|
|
scanf("%s", Mensch2); |
|
|
|
|
|
char wahl1 = '0', wahl2 = '0'; |
|
|
|
|
|
while (wahl1 != '3' && wahl1 != '1' && wahl1 != '2') { |
|
|
|
|
|
printf("\n\t\t\t\t%s, waehlen Sie 1 fuer Schere, 2 fuer Stein oder 3 fuer Papier: ", Mensch1); |
|
|
|
|
|
scanf(" %c", &wahl1); |
|
|
|
|
|
} |
|
|
|
|
|
#ifdef _WIN32 |
|
|
|
|
|
system("cls"); |
|
|
|
|
|
#else |
|
|
|
|
|
system("clear"); |
|
|
|
|
|
#endif |
|
|
} |
|
|
} |