Question 1: Making a value from 10-cent and 50-cent coins[ ]

Given a certain amount of money, some 10-cent coins and some 50-cent coins, is it possible to make exactly that amount of money with those coins?

For example, it is possible to produce $1.50 with 6 10-cent coins and 2 50-cent coins, but it isn't possible to produce $0.80 with 2 10-cent coins and 3 50-cent coins.

Write a python program which accepts 3 inputs: the amount of money in cents, the number of 10-cent coins, and the number of 50-cent coins. The program determines if the value can be produced by that number of 10-cent and 50-cent coins, returning True or False. There should be no looping in the program.

Function Input Argument(s):

There will be 3 inputs

  1. value (integer)
  2. ten_cent (integer)
  3. fifty_cent (integer)

Function Return Value:

The function should return a boolean value: 'True' when the value is obtainable from the coins given, and 'False' when the value is not obtainable from the coins given.