Advertisement
cwchen

The pseudocode of secret number game

Aug 22nd, 2017
661
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. Set the minimum and the maximum.
  2.  
  3. Set a random answer between the minimum and the maximum.
  4.  
  5. loop {
  6. Receive the guess from user.
  7.  
  8. If the guess is correct, leave the loop.
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement