age=io.read("*n") if(age>=60) then io.read("The amount you have to pay is $400") elseif(age>=15 and age<60) then io.write("The amount you hav to pay is $550") end
To embed this project on your website, copy the following code and paste it into your website's HTML: