# Search:

Type: Posts; User: sxl4

1. ## Thread: Java Change Maker need help with rounding up the pennies

by sxl4
Replies
11
Views
630

### Re: Java Change Maker need help with rounding up the pennies

im not understanding exactly what you mean exactly? im a noob to this
2. ## Thread: Java Change Maker need help with rounding up the pennies

by sxl4
Replies
11
Views
630

### Re: Java Change Maker need help with rounding up the pennies

i think this is what you mean if not it works :)

/**
* Name: Salvatore LoCricchio
* Date January 22, 2013
* Class/Section: CIT160-03
3. ## Thread: Java Change Maker need help with rounding up the pennies

by sxl4
Replies
11
Views
630

### Re: Java Change Maker need help with rounding up the pennies

i think that its done here:
change = (int) ((tendered - spent)*100);

where whats left is converted to pennies
4. ## Thread: Java Change Maker need help with rounding up the pennies

by sxl4
Replies
11
Views
630

### Re: Java Change Maker need help with rounding up the 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;
...
5. ## Thread: Java Change Maker need help with rounding up the pennies

by sxl4
Replies
11
Views
630

### Re: Java Change Maker need help with rounding up the pennies

/**
* Name: Salvatore LoCricchio
* Date January 22, 2013
6. ## Thread: Java Change Maker need help with rounding up the pennies

by sxl4
Replies
11
Views
630

### Java Change Maker need help with rounding up the pennies

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...
Results 1 to 6 of 6