Skip to content

Commit

Permalink
Completed tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
SashaAnn committed Sep 28, 2024
1 parent 11445e3 commit 9f1235d
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
27 changes: 27 additions & 0 deletions client-a.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
# Client Task A #
# Add your pseudocode to this file below this line: #
# ------------------------------------------------- #
Start
guessnum = (Random 1, 10)
maximumattempt = 3

print "Pick a number 1 through 10"

first attempt:
if number = 8 then
print "You win!"
else
print "Try again!"

second attempt:
if number = 8 then
print "You win!"
else
print "Last chance!"

third attempt:
if number = 8 then
print "Winner, Winner!"
else
print "You lose!"

print "Game Over"

End

10 changes: 10 additions & 0 deletions client-b.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# Client Task B #
# Add your pseudocode to this file below this line: #
# ------------------------------------------------- #
1. User inputs objective within warehouse.
2. Determine location of objective relative to user's location.
3. Instruct user to move x direction for N amount of steps.
define x = north, south, east, west
define N = number of steps

4. Move x direction for N amount of steps until user has reached destination.
print "You are here"

5. User has arrived at location
print "Exit" or "New"
9 changes: 9 additions & 0 deletions client-c.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
# Client Task C #
# Add your pseudocode to this file below this line: #
# ------------------------------------------------- #
Start
count = 2 to 50 increment by 2

if 50 then
print "Case complete."
print "Start new."
else
count + 2

End

0 comments on commit 9f1235d

Please sign in to comment.