From 0760839c11d38902004cb47f92323db708740396 Mon Sep 17 00:00:00 2001 From: fdai7754 Date: Sun, 4 Feb 2024 15:42:25 +0100 Subject: [PATCH] print funktion mit minuten und stunden ausgabe --- src/ageinseconds.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ageinseconds.c b/src/ageinseconds.c index 816c666..63429ae 100644 --- a/src/ageinseconds.c +++ b/src/ageinseconds.c @@ -9,5 +9,7 @@ int run_ageinseconds() { printf("-------------------------------------------------"); printf("\nDu bist: %d Sekunden alt", age * 365 * 24 * 60 * 60); printf("\n-------------------------------------------------"); + printf("\nDas sind %d in Minuten und %d in Stunden", age * 365 * 24 * 60, age * 365 * 24); + printf("\n-------------------------------------------------"); return 0; }