im not understanding exactly what you mean exactly? im a noob to this
Type: Posts; User: sxl4
im not understanding exactly what you mean exactly? im a noob to this
i think this is what you mean if not it works :)
/**
* Name: Salvatore LoCricchio
* Date January 22, 2013
* Class/Section: CIT160-03
i think that its done here:
change = (int) ((tendered - spent)*100);
where whats left is converted to pennies
What do you mean? Convert to cents before I put it through the this:
dollars = (change/100);
change = change%100;
quarters = (change/25);
change = change%25;
...
Is this what your asking for? thanks for replying!
/**
* Name: Salvatore LoCricchio
* Date January 22, 2013
So im new to programing and need help solving my program because my teacher never taught us about how to solve the issue. it works and compiles as of right now but if you run it. the issue is when i...