forked from CodeYouOrg/intro_pscode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient-b.txt
More file actions
14 lines (11 loc) · 819 Bytes
/
client-b.txt
File metadata and controls
14 lines (11 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
# Client Task B #
# Add your pseudocode to this file below this line: #
# ------------------------------------------------- #
application initializes
application opens to grid defining specific dimensions defined as x,y coordinates
customer inputs item they're searching for either using an item number or item name
computer searches through list for a variable that associates string or item number with specific x,y location
if no variable is found print "Item not found. Please check to ensure spelling is correct or try searching with item number."
if variable exists program displays location
using device's location as starting point, the app directs the customer either north, south, east, or west each space in the grid until desired location is reached
end