Browse Source

anweisungen spezifiziert ageinseconds

remotes/origin/refactoring
fdai7754 11 months ago
parent
commit
cb9aa61540
  1. 4
      src/ageinseconds.c

4
src/ageinseconds.c

@ -70,10 +70,10 @@ int tierfakten(int age) {
int run_ageinseconds() { int run_ageinseconds() {
int age; int age;
printf("Dein Alter: ");
printf("Geben Sie ihr Alter in Jahren ein \nAlter: ");
scanf("%d", &age); scanf("%d", &age);
printf("-------------------------------------------------"); printf("-------------------------------------------------");
printf("\nDu bist: %0.f Sekunden alt", sekunden(age));
printf("\nSie sind:: %0.f Sekunden alt", sekunden(age));
printf("\n-------------------------------------------------"); printf("\n-------------------------------------------------");
printf("\nDas sind %d in Minuten und %d in Stunden", minuten(age), stunden(age)); printf("\nDas sind %d in Minuten und %d in Stunden", minuten(age), stunden(age));
printf("\n-------------------------------------------------\n"); printf("\n-------------------------------------------------\n");

Loading…
Cancel
Save