--[[write a program to check the age of a person for casting vote.--]]
age = io.read("*n")
if(age >= 18)
then
print("You can cast vote.")
else
print("Looks like you have to wait for few years.")
end
To embed this project on your website, copy the following code and paste it into your website's HTML: