aboutsummaryrefslogtreecommitdiff
path: root/6c/pseudocode.txt
diff options
context:
space:
mode:
Diffstat (limited to '6c/pseudocode.txt')
-rw-r--r--6c/pseudocode.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/6c/pseudocode.txt b/6c/pseudocode.txt
new file mode 100644
index 0000000..af45a35
--- /dev/null
+++ b/6c/pseudocode.txt
@@ -0,0 +1,9 @@
+Pseudocode:
+get end number
+f1 = 1 f2 = 0
+f = f1 + f2
+while (f <= end)
+ output f
+ f2 = f1
+ f1 = f
+ f = f1 + f2 \ No newline at end of file