Commit a4a0875
Changed files (1)
src
Q9
src/Q9/README.md
@@ -68,11 +68,50 @@
This program depends on a random number generator to randomly generate the
direction to move the robot towards. This program attempts to check the grid
boundaries before advancing to the next position.
-
+
1. Sample Input and Output
- ```bash
- ````
+ 1. Screenshot from the initial draw of the program.
+
+ ```bash
+ ==== Question 9 ====
+ | | | | | | | | | | |
+ |1| | | | | | | | | |
+ | | | | | | | | | | |
+ | | | | | | | | | | |
+ | | | | | | | | | | |
+ | | | | | | | | | | |
+ | | | | | | | | | | |
+ | | | | | | | | | | |
+ | | | | | | | | | |2|
+ | | | | | | | | | | |
+
+ R1 (1, 0): [4]
+ R2 (8, 9): [3]
+ ```
+
+ 1. Screenshot from the final draw of the program.
+
+ ```bash
+ ==== Question 9 ====
+ | | | | | | | | | | |
+ | | | |X| | | | | | |
+ | | | | | | | | | | |
+ | | | | | | | | | | |
+ | | | | | | | | | | |
+ | | | | | | | | | | |
+ | | | | | | | | | | |
+ | | | | | | | | | | |
+ | | | | | | | | | | |
+ | | | | | | | | | | |
+
+ R1 (1, 3):
+ [4,4,2,7,6,1,4,2,7,6,7,2,4,3,6,3,3,2,7,5,6,2,7,3,1,2,7,7,6,6,4,3,2,1,1,1,2,2,7,3,2,4,2]
+ R2 (1, 3):
+ [3,5,7,4,1,5,2,7,1,2,1,1,1,1,6,2,7,3,5,7,4,3,2,7,3,4,6,2,7,3,6,3,3,3,2,6,2,5,3,1,6,4,1]
+ ```
+
+ 
1. Discussion