Swinging the pendulum back to extremely basic

This commit is contained in:
2024-04-15 09:55:20 -04:00
parent 8532dd4657
commit 58002830a8
2 changed files with 10 additions and 0 deletions

1
modernc/05/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
basic

9
modernc/05/basic.c Normal file
View File

@@ -0,0 +1,9 @@
#include <stdio.h>
int main() {
double x = 5.0;
double y = 3.0;
x = (x * 1.5) - y;
printf("x is \%g\n", x);
}