Hello dear Community,
I try to learn lua but I have a problem with my code.
print("Choose your number") local number = io.read("\*n") repeat if number == 100 then print("Max. Number") elseif zahl \< 100 then print("Number is less then 100") else print("Wrong!") end print("Restart the program?") answer = io.read() until answer ~= "No"
When I run my program then I can not make a user input.
My output is:
Choose your number
>10
Number is less then 100
Restart the program?
Can someone help me?