Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var flour = +prompt("What flour do you need?")
- if (flour < 1 || > 9) { // if (flour < 1 || flour > 9) {
- alert("Flour is not right")
- } else if (flour >= 4 && flour <=6) {
- var pass = +prompt("Please write password")
- if (pass == 1337){
- alert("ok")
- } else {
- alert("Password is not right")
- }
- } else {
- alert("go")
- }
Add Comment
Please, Sign In to add comment