2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -1,7 +1,18 @@
|
|||
{{basic data operation}} [[Category:Simple]]
|
||||
Get two integers from the user, and then output the sum, difference, product, integer quotient and remainder of those numbers.
|
||||
Don't include error handling.
|
||||
For quotient, indicate how it rounds (e.g. towards 0, towards negative infinity, etc.).
|
||||
For remainder, indicate whether its sign matches the sign of the first operand or of the second operand, if they are different.
|
||||
|
||||
Also include the exponentiation operator if one exists.
|
||||
;Task:
|
||||
Get two integers from the user, and then (for those two integers), display their:
|
||||
::::* sum
|
||||
::::* difference
|
||||
::::* product
|
||||
::::* integer quotient
|
||||
::::* remainder
|
||||
::::* exponentiation (if the operator exists)
|
||||
|
||||
<br>
|
||||
Don't include error handling.
|
||||
|
||||
For quotient, indicate how it rounds (e.g. towards zero, towards negative infinity, etc.).
|
||||
|
||||
For remainder, indicate whether its sign matches the sign of the first operand or of the second operand, if they are different.
|
||||
<br><br>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue