added ws202425 courses

This commit is contained in:
2024-11-14 13:11:04 +01:00
parent 800282c2e8
commit beb31897b1
461 changed files with 20368 additions and 0 deletions
@@ -0,0 +1,21 @@
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char * argv[]){
if (argc == 2) {
printf("bitte argument übergeben"); //argv ist programmname,
//argv[1] ist zhl daher 2 stk argc=2
}
else {
double zahl = atof(argv[1]); //covert to float
printf("%s³ = %f\n", argv[1], zahl*zahl*zahl);
}
return 0;
}