Browse Source

Upload files to ''

master
Cathrin 5 years ago
parent
commit
d179c6a321
1 changed files with 14 additions and 0 deletions
  1. 14
      tag4a2.c

14
tag4a2.c

@ -0,0 +1,14 @@
#include <stdio.h>
double square_to (double *a) {
*a = *a * *a;
printf("Das Quadrat ist %f .\n", *a);
return *a;
}
int main() {
double u=7;
printf("Das Ergebnis ist: %f .\n", square_to(&u));
return 0;
}
Loading…
Cancel
Save