• Omega_Haxors@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    5 months ago

    It recursively subtracts until the number goes at or below zero. The iterations is the output and the reminder is how much it went below zero.