20 lines
382 B
Plaintext
Raw Normal View History

2024-07-28 18:12:42 +02:00
main() {
dividend := 256
divisor := 100
2025-02-22 12:54:23 +01:00
quotient, remainder := 256 / 100
2024-07-28 18:12:42 +02:00
assert quotient == 2
assert remainder == 56
2025-02-22 12:54:23 +01:00
2024-07-28 18:12:42 +02:00
quotient, remainder = dividend / 100
assert quotient == 2
assert remainder == 56
quotient, remainder = 256 / divisor
assert quotient == 2
assert remainder == 56
2025-02-22 12:54:23 +01:00
2024-07-28 18:12:42 +02:00
quotient, remainder = dividend / divisor
assert quotient == 2
assert remainder == 56
}