Browse Source

print funktion mit minuten und stunden ausgabe

remotes/origin/ageinsecondsdev
fdai7754 11 months ago
parent
commit
0760839c11
  1. 2
      src/ageinseconds.c

2
src/ageinseconds.c

@ -9,5 +9,7 @@ int run_ageinseconds() {
printf("-------------------------------------------------"); printf("-------------------------------------------------");
printf("\nDu bist: %d Sekunden alt", age * 365 * 24 * 60 * 60); printf("\nDu bist: %d Sekunden alt", age * 365 * 24 * 60 * 60);
printf("\n-------------------------------------------------"); printf("\n-------------------------------------------------");
printf("\nDas sind %d in Minuten und %d in Stunden", age * 365 * 24 * 60, age * 365 * 24);
printf("\n-------------------------------------------------");
return 0; return 0;
} }
Loading…
Cancel
Save