move exercises, lecture examples, labs into subfolders

This commit is contained in:
2023-10-13 16:19:51 +01:00
parent a602f20e01
commit 015b5d6a08
200 changed files with 2 additions and 2 deletions

11
Exercises/C5/ex4.c Normal file
View File

@@ -0,0 +1,11 @@
#include <stdio.h>
#include <math.h>
int main() {
float r;
printf("Enter radius: ");
scanf("%f", &r);
printf("Area of sphere: %f\n", 4.0*M_PI*r*r);
printf("Volume of sphere: %f\n", M_PI*r*r*r*4.0/3.0);
}