ln = 0
for i = 1,3,1 
do
    n = io.read("*n")
    ln = n
    if(n>ln)
    then
        ln = n 
    else
        ln = ln
    end
end
print("Largest Number = ",ln)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: