-- If/Else in Lua
-- Lua Programming
x = io.read("*n")
y = io.read("*n")
if ( x == y )
then
print ("Lua!")
else
print ("Python!")
end
if ( x < y )
then
print ("C!")
else
print ("C++!")
end
if ( x > y )
then
print ("C#!")
else
print ("Nothing!")
end
To embed this project on your website, copy the following code and paste it into your website's HTML: