• Omega_Haxors
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    10 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.