Integer Arithmetic
Easy · Arithmetic · Arithmetic
Problem
$A is 17 and $B is 5. Print, one per line: their sum, their difference, their product, the integer quotient, and the remainder.
Examples
Input: A=17 B=5 Output: 22 12 85 3 2
Approaches
- One $(( )) per line
Start free on Cariara · Coding problems · System design studio