Timkor

elevator

Feb 11th, 2021 (edited)
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var flour = +prompt("What flour do you need?")
  2. if (flour < 1 || > 9) { // if (flour < 1 || flour > 9) {
  3.     alert("Flour is not right")
  4. } else if (flour >= 4 && flour <=6) {
  5. var pass = +prompt("Please write password")
  6.     if (pass == 1337){
  7.         alert("ok")
  8.     } else {
  9.         alert("Password is not right")
  10.     }
  11. } else {
  12.     alert("go")
  13. }
Add Comment
Please, Sign In to add comment