Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 22 additions & 3 deletions client-a.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
# Client Task A #
# Add your pseudocode to this file below this line: #
# ------------------------------------------------- #
Task A

Start
Get the new number:

Get the guess from the user
While the guess is incorrect
If guess is to large tell user it is "to large"
If guess is to small tell user it is "to small"

Get a new guess
If guess is to large tell user it is "to large"
If guess is to small tell user it is "to small"

Get a new guess
If guess is to large tell user it is "to large"
If guess is to small tell user it is "to small"

While the guess is correct
If guess is correct tell user "you have guessed the correct number"
Print "Number"

End
46 changes: 43 additions & 3 deletions client-b.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,44 @@
# Client Task B #
# Add your pseudocode to this file below this line: #
# ------------------------------------------------- #
Task B


START

Current Room = 'Center of Warehouse'
Print 'You are in the Center of Warehouse'
BEGIN LOOP
INPUT= 'What direction do you want to go?'
IF current location is 'Center of Warehouse'
IF direction is 'West'
current location = 'West Warehouse'
OUTPUT= 'You are in the West Warehouse portion'
ELSE
OUTPUT= 'Invalid Direction, Try Again'
ELIF current location is 'Center of Warehouse'
INPUT= 'What direction do you want to go?'
IF direction is 'North'
current location = "North Warehouse"
OUTPUT= 'You are in the North Warehouse portion'
ELSE
OUPUT= 'Invalid Direction, Try Again'
ELIF current location is 'Center of Warehouse'
INPUT= 'What direction do you want to go?'
IF direction is 'South'
current location = 'South Warehouse'
OUTPUT= 'You are in the South Warehouse portion'
ELSE
OUPUT= 'Invalid Direction, Try Again'
ELIF current location is "Center of Warehouse"
INPUT= 'What direction do you want to go?'
IF direction is 'East'
current location = 'East Warehouse'
OUTPUT= 'You are in the East Warehouse portion'
ELSE
OUPUT= 'Invalid Direction, Try Again'

END LOOP
IF current location = 'Center of Warehouse'
OUTPUT= 'End Point Reached'

END


19 changes: 16 additions & 3 deletions client-c.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
# Client Task C #
# Add your pseudocode to this file below this line: #
# ------------------------------------------------- #
Task C

START

SET n=2

PRINT 'n'

Increase 'n' by 2

If N <=50 Go to 2nd Step

ELSE STOP


STOP