diff --git a/client-a.txt b/client-a.txt index 09f6cf6..ceeeaa6 100644 --- a/client-a.txt +++ b/client-a.txt @@ -2,3 +2,31 @@ # Add your pseudocode to this file below this line: # # ------------------------------------------------- # +Choose a number between 1 - 10 +The user gets 3 tries to match the computer picked number + +Computer will pick a number between 1-10 + +Prompt 1 +Prompt user to choose a number between 1-10 + If number is not between 1-10 then prompt user to "Please try again Friend" + Else Compare the input to computers prepicked number + + +If the number the user picks matches the number the computer picks then prompt user "You are a winner" + +Else If the number the user picks does not match the computer picked number then prompt user "Please try again" + Count down chances remaining + +Loop Prompt 1 + +If the number the user picks matches the number the compter picks the prompt user "Second time is a charm, You're a WINNER!" + +Else If the number the user picks does not match the computer picked number then prompt user "Please try again" + Count down the chances remaining +Loop Prompt 1 + +If the number the user picks matches the number the computer picks then prompt user "WINNER WINNER CHICKEN DINNER!" + +Else If the number the user picks does not match the computer picked number then Prompt user "End of LINE, Sorry!" + End Game \ No newline at end of file diff --git a/client-b.txt b/client-b.txt index 991004f..bdaee1f 100644 --- a/client-b.txt +++ b/client-b.txt @@ -2,3 +2,31 @@ # Add your pseudocode to this file below this line: # # ------------------------------------------------- # +Task: Develop a mapping (walking) application to find a specific set location in a large warehouse store for a customer. The customer can move north, south, east, or west. + +Hints: Loops, Variables + +Create an array containing North, South, East, West + +Locate users position location in the warehouse store + +Locate item position in the warehouse store + +Calculate directions to the item + +Compare the users postion and where the item is + +Provide a list of possible directions + +Have user select which direction they would like to choose + +Track user postion and eliminate previous directions once they have been fulfilled + +At each direction change point, recalibrate next direction in line + + If user is on the correct path continue with current directions + Else the user moves in the wrong direction provide updated list of directions + +Loop Compare statement until item is located + +When users location matches item location prompt user "You Are HERE!" \ No newline at end of file diff --git a/client-c.txt b/client-c.txt index d9a1860..e7ebd9a 100644 --- a/client-c.txt +++ b/client-c.txt @@ -2,3 +2,26 @@ # Add your pseudocode to this file below this line: # # ------------------------------------------------- # +Task C: Product Package Counter +Task: You need to develop a program that counts the number of items that a hardware device scans to sort for boxing packages into cases. Each package scanned is two (2) products. Each case can only fit 50 product packages. Write a program that prints numbers from 2 to 50, counting by twos. + +Hint: Loops + +Determine number of packages per box and how many items in each package + + Create a count state Variables intialized at zero + + While count state is <=50 increments count state by 2 + +let count_state = 0; +print count_state; +while (count_state < 50) { + count_state + 2; + print count_state; + if (count_state === 50) { + print("Limit of 50 packages has been reached!") + break + } +} + +