summaryrefslogtreecommitdiff
path: root/src/Q8/README.md
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2019-08-11 17:38:24 -0600
committermo khan <mo@mokhan.ca>2019-08-11 17:38:24 -0600
commita7abfd9f11d2d750cb2b45bfc9de8858a29f05f2 (patch)
tree999ec6556bdb3b88a1f7bb9cd7c2f803bbbeac40 /src/Q8/README.md
parenta04f5ec262de028c843e38bf5864cd84953258b1 (diff)
add documentation and complete program profile
Diffstat (limited to 'src/Q8/README.md')
-rw-r--r--src/Q8/README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Q8/README.md b/src/Q8/README.md
index c485eaa..3ed18a1 100644
--- a/src/Q8/README.md
+++ b/src/Q8/README.md
@@ -44,5 +44,22 @@
with additional methods for calculating the preferred strokes for each player.
1. Errors and Warnings
+
+ This program does not accept user input.
+
1. Sample Input and Output
+
+ The output from running the program.
+
+ ```bash
+ $ java -cp target/assignment2*.jar ca.mokhan.comp268.App 8
+ === Question 8 ===
+ Player 1 points: 5
+ Player 2 points: 21
+ Player 1 streak: 2
+ Player 2 streak: 9
+ Player 1 favourite stroke: smash
+ Player 2 favourite stroke: net-shot
+ ```
+
1. Discussion