Advertisement
borsha06

js_p8

Apr 25th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. var a = parseInt(prompt("e",""));
  3. var s = Math.floor(Math.random()*10)+1
  4. if(a==s)
  5. {
  6.     console.log("good")
  7. }
  8. else
  9. console.log("not good")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement