I’m working on a c programming project and need an explanation to help me understand better.
Create a program to process cash change using standard U.S. denominations of pennies,nickels, dimes, quarters, dollar bills, five-dollar bills, tens, and twenties.Figure out how many of each bill or coin that you expect to get back for a given amount.For example, if you need to give back $3.87 in change, you would have3 one-dollar bills3 quarters1 dime2 pennies. You should be able to do this first part without using any IF statements. If you’re using IFs here,you’re doing it incorrectly.
2nd part: Write your program to allow for being out of a denominationor multiple denominations: dimes, for example. In that case, the $3.87 ends up being 3ones, 3 quarters, 2 nickels and 2 pennies. You must use these constants: #define NOTHING_MISSING 0#define NO_PENNIES 1#define NO_NICKELS 2#define NO_DIMES 3#define NO_QUARTERS 4#define NO_DOLLARS 5#define NO_FIVES 6#define NO_TENS 7#define NO_TWENTIES 8. For this part, you can use an if statement.
"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you A results."