Swinging the pendulum back to extremely basic
This commit is contained in:
parent
8532dd4657
commit
58002830a8
1
modernc/05/.gitignore
vendored
Normal file
1
modernc/05/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
basic
|
9
modernc/05/basic.c
Normal file
9
modernc/05/basic.c
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user