Greedy is a famous program that collects and prints out the number of coins that from the amount collected from the user.