This commit is contained in:
Joaquin Gottlebe
2025-07-30 15:57:48 +02:00
parent e49fcfac46
commit a639c34cee
273 changed files with 20151 additions and 0 deletions
@@ -0,0 +1,19 @@
#include <stdio.h>
int main() {
double pi = 3.14159265359;
int r;
printf("Geben Sie den Radius ein: ");
scanf("%d", &r);
double f = pi * r * r;
double u = 2 * pi * r;
printf("Für einen Kreis mit Radius %d gilt:\n", (short)r);
printf("Fläche: %f\n", f);
printf("Umfang: %f\n", u);
return 0;
}