A novice question. I have to ask the user to input float amount between 0.00 and $100.00. Then printout number of TWENTIES, TENS, FIVES, ONES, quarters, dimes, nickels and pennies. Any help is appreciated. This is the way I approached it: (formatting from float to int is a problem).
printf("Enter Dollar amount between $0.00 and $100.00"\n);
if (amount_user >100.00 or <0.00)
printf("wrong, Please try inputing your request amount in the form of $###.## \n");
Tens= /* continure until we run out of money */
How about the user put in 0.25 or an amount less than $20.00