Arithmetic/Integer: Difference between revisions

Content added Content deleted
mNo edit summary
No edit summary
Line 1: Line 1:
{{Task|Basic language learning}}[[Category:Arithmetic operations]]
{{Task|Basic language learning}}[[Category:Arithmetic operations]]
{{basic data operation}}
{{basic data operation}}
{{Omit From|NSIS}}
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.
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.