I'm new to C++ and I'm currently taking a class. My instructor gave me an exercise to do with I don't understand. The exercise is as follows:
Develop an algorithm that calculates the monetary value of a handful of coins. You may assume that there are quarters, dimes, nickels, and pennies. The total value will be under $1.00.