p = io.read("*n")
if(p>=90)
then
print("Your grade is 0")
elseif(p<90 and p>=80)
then
print("Your grade is A")
elseif(p<80 and p>=70)
then
print("Your grade is B")
else
print("Your grade is C")
end
To embed this project on your website, copy the following code and paste it into your website's HTML: