22 lines
414 B
Plaintext
22 lines
414 B
Plaintext
main() {
|
|
quotient := 0
|
|
remainder := 0
|
|
dividend := 256
|
|
divisor := 100
|
|
|
|
quotient, remainder = 256 / 100
|
|
assert quotient == 2
|
|
assert remainder == 56
|
|
|
|
quotient, remainder = dividend / 100
|
|
assert quotient == 2
|
|
assert remainder == 56
|
|
|
|
quotient, remainder = 256 / divisor
|
|
assert quotient == 2
|
|
assert remainder == 56
|
|
|
|
quotient, remainder = dividend / divisor
|
|
assert quotient == 2
|
|
assert remainder == 56
|
|
} |