Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
window 1, @"Integer Arithmetic", ( 0, 0, 400, 300 )
|
||||
|
||||
NSInteger a = 25
|
||||
NSInteger b = 53
|
||||
|
||||
print "addition "a" + "b" = " (a + b)
|
||||
print "subtraction "a" - "b" = " (a - b)
|
||||
print "multiplication "a" * "b" = " (a * b)
|
||||
print "division "a" / "b" = " (a / b)
|
||||
printf @"float division %ld / %ld = %f", a, b, (float)a / (float)b
|
||||
print "modulo "a" % "b" = " (a mod b)
|
||||
print "power "a" ^ "b" = " (a ^ b)
|
||||
|
||||
HandleEvents
|
||||
Loading…
Add table
Add a link
Reference in a new issue