Files
highground-fork/tests/input.sols

16 lines
252 B
Plaintext
Raw Normal View History

use io
2025-12-20 20:25:48 +11:00
accessNotGranted = true
while accessNotGranted {
password = input("Password: ")
if password == "dingus" {
accessNotGranted = false
}
if password != "dingus" {
puts "Incorrect password!"
}
}
puts "Welcome!"