Mk1=io.read("*n") Mk2=io.read("*n") Mk3=io.read("*n") Tmrks=Mk1+Mk2+Mk3 Avg_marks=(Mk1+Mk2+Mk3)/3 io.write("Total Marks are ",Tmrks," and average marks are ",Avg_marks)
To embed this project on your website, copy the following code and paste it into your website's HTML: