A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
8
Task/Arithmetic-Integer/MAXScript/arithmetic-integer.max
Normal file
8
Task/Arithmetic-Integer/MAXScript/arithmetic-integer.max
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
x = getKBValue prompt:"First number"
|
||||
y = getKBValue prompt:"Second number:"
|
||||
|
||||
format "Sum: %\n" (x + y)
|
||||
format "Difference: %\n" (x - y)
|
||||
format "Product: %\n" (x * y)
|
||||
format "Quotient: %\n" (x / y)
|
||||
format "Remainder: %\n" (mod x y)
|
||||
Loading…
Add table
Add a link
Reference in a new issue