hours = io.read("*n")
if(hours<10)
then
    print("Amount needed to be payed = ₹300")
elseif(hours>=10 and hours<20)
then
    print("Amount needed to be payed = ₹400")
elseif(hours>=20)
then
    print("Amount needed to be payed = ₹500")
end

Embed on website

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