Question: Part 1 : Importing the . mat Variables The project's . mat file has a single variable in it , requestedCents. Use the proper function

Part 1: Importing the .mat Variables
The project's .mat file has a single variable in it, requestedCents. Use the proper function to import the variable into your project's workspace, filename is project1Input.mat
Part 2: Calculate Amount of Each Coin
You now have a request for a certain number of cents in the variable requestedCents. Your task is to calculate the quantitiy of each coin required to dispense to reach that amount with the minimum number of coins. This means when your calculations are completed you should have a pile of coins that adds up to requestedCents. To minimize the number of cents, we always start by calculating the nmber of coins of the highest value. You will need to use the floor() function in this step.
Implementation Constraint:You MUST store the final quantities for each bill in variables named dollar, half, quarter, dime, nickel, penny. (Failure to do this will results in the autograder not working and you receiving a 0 for the project)
Part 3: Display Results
As the final step in your project implementation you should display the results of your conversion. See above for sample output.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!