feat: add input_number function
This commit is contained in:
parent
bcaf2cb3b7
commit
d562af9876
8 changed files with 61 additions and 11 deletions
|
|
@ -2,5 +2,4 @@
|
|||
set a to input_number()
|
||||
set b to input_number()
|
||||
set res to a+b
|
||||
|
||||
print_int(res)
|
||||
print_number(res)
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
# test modulus operator
|
||||
print_number(20.2 % 10)
|
||||
set a to input_number()
|
||||
print_number(a)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue