From 8ff4bb3dc85dfa4bf23dc569ad9b2bde02dab56a Mon Sep 17 00:00:00 2001 From: Celine Khazarian Date: Thu, 8 Feb 2024 23:30:03 +0100 Subject: [PATCH] Int Modus 2 Anfang und Name Mensch 1 und 2 --- src/main/c/SchereSteinPapier.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/c/SchereSteinPapier.c b/src/main/c/SchereSteinPapier.c index 42cfee4..92c540b 100644 --- a/src/main/c/SchereSteinPapier.c +++ b/src/main/c/SchereSteinPapier.c @@ -76,4 +76,12 @@ int Modus1() { #endif } return 0; +} + +int Modus2() { + char Mensch1[50], Mensch2[50]; + printf("\t\t\t\tName Mensch 1: "); + scanf("%s", Mensch1); + printf("\n\t\t\t\tName Mensch 2: "); + scanf("%s", Mensch2); } \ No newline at end of file