daily pastebin goal
20%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1) Ask for player 1 input between 1-100
  2. 2) if the input is not between 1 and 100, then tell the player it is not between 1-100 and ask for player 1 input between 1-100
  3. 3) repeat until we get a proper input
  4. 4) ask for player 2 input
  5. 5) if player 2 input is above player 1 input then tell the player that his guess is above and ask for player 2 input
  6. 6) if player 2 input is below player 1 input then tell the player that his guess is below and ask for player 2 input
  7. 7) if player 2 input is player 1 input then we are done
  8. 8) if we aren't done, repeat until we are
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top