From 13e087f248b775d08c1eaea297aa12260dbb693b Mon Sep 17 00:00:00 2001 From: Devin Kellerman Date: Fri, 27 Sep 2024 20:08:08 -0400 Subject: [PATCH 1/3] Update client-a.txt Updated client-a.txt file. --- client-a.txt | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/client-a.txt b/client-a.txt index 09f6cf6..8918bbb 100644 --- a/client-a.txt +++ b/client-a.txt @@ -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 From ae28e0d4c50abf0f7978231c79deaf69f66241e8 Mon Sep 17 00:00:00 2001 From: Devin Kellerman Date: Sat, 28 Sep 2024 23:24:43 -0400 Subject: [PATCH 2/3] Update client-b.txt --- client-b.txt | 46 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git a/client-b.txt b/client-b.txt index 991004f..9e815dc 100644 --- a/client-b.txt +++ b/client-b.txt @@ -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 + From f79f0e29f7b2a556fed1965a922e2a7858cc31c5 Mon Sep 17 00:00:00 2001 From: Devin Kellerman Date: Sun, 29 Sep 2024 00:26:42 -0400 Subject: [PATCH 3/3] Update client-c.txt --- client-c.txt | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/client-c.txt b/client-c.txt index d9a1860..24183ac 100644 --- a/client-c.txt +++ b/client-c.txt @@ -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