From 4bb30f3da2bbc6163ae21806e0a7d26832dd9874 Mon Sep 17 00:00:00 2001 From: fdai7754 Date: Tue, 6 Feb 2024 22:13:57 +0100 Subject: [PATCH] uebersichtlichkeit der benutzeroberflaeche durch abtrenner verbessert --- src/ageinseconds.c | 2 +- src/menue.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ageinseconds.c b/src/ageinseconds.c index 5db8691..609a907 100644 --- a/src/ageinseconds.c +++ b/src/ageinseconds.c @@ -79,6 +79,6 @@ int run_ageinseconds() { printf("\n-------------------------------------------------\n"); printf("Tierfakt:\n"); tierfakten(age); - printf("\n-------------------------------------------------"); + printf("\n-------------------------------------------------\n"); return 0; } \ No newline at end of file diff --git a/src/menue.c b/src/menue.c index a054853..1cf8561 100644 --- a/src/menue.c +++ b/src/menue.c @@ -9,9 +9,13 @@ int main() { int eingabe; while (eingabe != 0) { - + + printf("-------------------------------------------------"); printf("\nWelches Programm wollen Sie starten?\n<1> Minirechner \n<2> AlterinSekunden\n<3> MagicEightBall\n<4> Zahlenraten\nZum Abbrechen 0 eingeben.\n"); + printf("-------------------------------------------------"); + printf("\nEingabe: "); scanf("%d", &eingabe); + printf("-------------------------------------------------\n"); switch (eingabe) {