|
@ -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"); |
|
|