Lab 20
This lab was essentially a guessing game. In this game the player has to guess a number between 1 and 50. If the number is too low a message will appear telling the user to guess a higher number. If the number is too high a message will appear telling the user to guess a lower number. If the correct number is guessed then the game will end.
To complete this lab Boolean expression were required. It would compare the inputted number with the target number and determine if the statements such as if it was higher were true or not. Depending on the results then the message will be different. This lab wasn't as complex or difficult as others because I was already introduced to Boolean expression in previous labs and on code.org. I could use the skills learned in this lab to generate an algorithm.
To complete this lab Boolean expression were required. It would compare the inputted number with the target number and determine if the statements such as if it was higher were true or not. Depending on the results then the message will be different. This lab wasn't as complex or difficult as others because I was already introduced to Boolean expression in previous labs and on code.org. I could use the skills learned in this lab to generate an algorithm.
Comments
Post a Comment