Write the "bankruptcy breakdown" method that requests an integer value and returns the corresponding amount of tickets.
The tickets used are: $ 1, $ 5, $ 10, $ 20, $ 50, $ 100
Example: amount = 157 {$ 100 (1), $ 50 (1), $ 5 (1), $ 1 (2)}
This...
asked by
25.02.2018 / 02:35