Commit 50b7493
Changed files (1)
assignments
assignments/1-solution.md
@@ -1,6 +1,10 @@
-# Assignment 1 – choose ONE exercise each from Chapters 2 and 3
+# COMP-200: Intro to Computer Systems
+## Assignment 1
+### mo khan - 3431709
-## Chapter 2: Exercises
+Choose ONE exercise each from Chapters 2 and 3
+
+Chapter 2:
4. Write an algorithm that gets the price for item A plus the quantity
purchased. The algorithm prints the total cost, including 6% sales tax.
@@ -18,7 +22,7 @@
end
```
-## Chapter 3: Exercises
+Chapter 3:
21. Use the binary search algorithm to decide whether 35 is in the following
list: `3, 6, 7, 9, 12, 14, 18, 21, 22, 31, 43`