Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
a = 45 --change the value of a to change the teachers message
b = 70
c= 60
if(a <= b)
then
print("-Teacher: You pass but that was close!",a,"%")
print("-You: Ill do better next time")
else
end
if(a >= 70)
then
print("-Teacher: You pass!" ,a,"%")
print("-You: Hell Yeah!")
else
end
if(a < c)
then
print("-Teacher: You FAIL!",a,"%")
print("-Teacher: You have to study more!")
print("-You: OH HELL NAH!!!")
else
end
Advertisements
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.
AcceptLearn more