Search:

Type: Posts; User: GMPoison

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    1,017

    Re: Simple Question about modular division

    Been messing with the thing for an hour still not getting it, but believe me I tried. Do you think you could really do me a favor this one time and tell me how I can fix this so I can understand?
  2. Replies
    7
    Views
    1,017

    Re: Simple Question about modular division

    There's something wrong with this:


    int quarters = (int) ((owed_final) / 25);
    int dimes = (int) ((owed_final % 25) / 10);
    int nickels = (int) ((owed_final % 25 % 10) / 5);
    int pennies = (int)...
  3. Replies
    7
    Views
    1,017

    Re: Simple Question about modular division

    I did a couple of tests and I know how it works, I just can't seem to implement my knowledge of it into this program. Further help would really be appreciated Norm. Thank you.

    --- Update ---

    I...
  4. Replies
    7
    Views
    1,017

    Simple Question about modular division

    The program is supposed to output the following:


    Please Enter the Cost of the Item:
    4.57
    Please Enter the Amount Paid:
    5.00
    Change Owed: 0.43
    Quarters: 1
    Dimes: 1
Results 1 to 4 of 4