--[[Write lua program to collect the name and age from the user and display their
age after 5 years--]]
print("Enter your name:\n")
name = io.read()
print('Enter your age:\n')
age = io.read('*n')
print("You are", name,"and of age", age)
new_age =  age+5
print('Your age after 5 years will be', new_age)

Embed on website

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