I've been programming this
io.write("How many languages do you speak?\n")
answer = io.read()
if (answer == 1)
then
io.write("You're a monolingual beta")
elseif (answer == 2)
then
io.write("You're bilingual")
elseif (answer == 3)
then
io.write("You're a multilingual semichad")
elseif (answer == 4)
then
io.write("You're a polyglot")
elseif (answer == 5)
then
io.write("You're a super polyglot")
elseif (answer == 6)
then
io.write("You're an hyper polyglot")
elseif (answer == 7)
then
io.write("You're a ultra polyglot")
elseif (answer == 8)
then
io.write("You're a mega polyglot")
elseif (answer == 9)
then
io.write("You're an ultra-mega polyglot")
elseif (answer >= 10)
then
io.write("You're an infinite polyglot gigachad")
end
But when i try to execute it and i put a number, it just says the error in the title. The line of code which the error refers is this one
elseif (answer >= 10)
And i can't really understand the issue. There are no strings. Can someone please help me out?