Deviopath › Swift

Quotient and Remainder

Medium · Functions

Return both values as [quotient, remainder]. Assume d != 0. Write divMod(_:_:).

Next: Parse an Age