Answer:
def quarterstodollars():
quarters = float(input('Enter Quarter: '))
dollar = quarters / 4
return dollar
print(quaterstodollars())
Step-by-step explanation:
Programming language used is Python.
The program starts by first defining the function using the def keyword.
It then prompts the user to enter a quarter, the input is converted to a floating type number and it is stored in the quarters variable.
To calculate the dollar equivalent, the quarter is divided by 4.
Finally, the dollar value is returned.
The last line calls the method. check image to see the result.