Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Hello Fifi, if you use two dashes before you write anything on a line,
- --the script will ignore it.
- --Change the values of a, b, and c to change the output it gives you.
- local a = 1
- local b = 2
- local c = 3
- local print1 = "a+b is equal to c"
- local print2 = "a+b is not equal to c"
- if (a+b) == c then
- print (print1)
- else
- if (a+b) ~= c then
- print (print2)
- end
- end
- print "Print Successful"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement