--[[Write a program to check the age of a person to display the fare amount as per the
following conditions:
Age>=60 == 4000
Age>=15 and < 60 == 5000--]]
age = io.read("*n")
if(age>=60)
then
print("You will have to pay Rs.4000")
elseif(age>=15 and age<60)
then
print("You will have to pay Rs.5000")
end
To embed this project on your website, copy the following code and paste it into your website's HTML: