
Implement a function that writes cents into out as a decimal amount with exactly two digits after the point, and returns the number of characters written.
money_format(1337, out)13.37 5money_format(0, out)0.00 4money_format(5, out)0.05 4money_format(-1, out)-0.01 5money_format(LONG_MIN, out)-92233720368547758.08 21money_format.c
Run the tests to grade your code
Implement a function that writes cents into out as a decimal amount with exactly two digits after the point, and returns the number of characters written.
money_format(1337, out)13.37 5money_format(0, out)0.00 4money_format(5, out)0.05 4money_format(-1, out)-0.01 5money_format(LONG_MIN, out)-92233720368547758.08 21money_format.c
Run the tests to grade your code
Memory will appear here