a=io.read ("*n")
b=io.read ("*n")
print ("The value of a is",a)
print ("The value of b is",b)
d=a
a=b
b=d
print ("We have swapped the variables")
print ("The value of a is",a)
print ("The value of b is",b)
To embed this project on your website, copy the following code and paste it into your website's HTML: