To everyone, I pulled together a while loop (well i started with one, went to a do/while, then back to the while), and am actually happy to say I think i've finally wrapped my head around looping.
The truncating floating points isn't so much an issue with this program (beginner course project...), but it is one that got brought up in class. Is there a way around that....?
For now, i'm one happy girl with a finished project(well mostly, i'm going to try and add more neat stuff to it). Here's my while:
if (fltUserMoney >= fltItem)
while (fltChange >= 1.00)
fltChange -= 1.00;
while (fltChange >= 0.25)
fltChange -= 0.25;
while (fltChange >= 0.10)
fltChange -= 0.10;
while (fltChange >= 0.05)
fltChange -= 0.05;
printf("\nYour Change is $%.2f, you get %d dollars , %d quarters, %d dimes, %d nickels", fltViewChange,
intDollar, intQuarter, intDime, intNickel);
printf("Please try again, enter the correct amount of funds next time.");