summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md45
1 files changed, 45 insertions, 0 deletions
diff --git a/README.md b/README.md
index d9f034a..6fe421d 100644
--- a/README.md
+++ b/README.md
@@ -47,3 +47,48 @@ Datatypes
* numbers (int, float)
* char -> character [A-Za-z]
* array -> deck of (similar stuff card, number, char)
+
+
+* Loop
+
+* 1 -> 2
+* chore weekly basis:
+
+wash:
+1. collect the dirty clothes
+2. separate the whites from the colours
+3. load the colours into the washing machine
+4. add detergent to the washing machine.
+5. close the washing machine door/lid
+6. start the washing machine
+
+wash clothes week
+
+* week 1: wash
+* week 2: wash
+* week 3: wash
+* week .: wash
+* week .: wash
+* week .: wash
+* week n: wash
+
+rinse and repeat
+
+* `for` loop
+* `while` loop
+
+* condition: passing the lie detector test
+* (1 == 1) -> true
+* (0 == 1) -> false
+
+```c
+ for (int i = 0; i < 1000000; i = i + 1) {
+ printf("%d\n", i);
+ }
+```
+
+```c
+ while (1 == 1) {
+ printf("true\n");
+ }
+```