Search:

Type: Posts; User: omfg pwned

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,072

    ooh i got it quarters = amount/.25f;...

    ooh i got it


    quarters = amount/.25f;
    amount -= quarters *.25f;
    cout << "You recieve " << quarters << " Quarters.\n\n" ;

    dimes = amount/.10f;
    cout << "You recieve " << dimes << "...
  2. Replies
    3
    Views
    1,072

    another problem... i guess it automatically...

    another problem... i guess it automatically rounds up? so u end up with 0 after u subtract teh quarters
  3. Replies
    3
    Views
    1,072

    Output and Control

    I've been working on a problem that it just boggling my mind. I need to be able to convert a given number into change (i.e. quarters, dimes, nickels, pennies.) so if i type in 3.50 i get 14...
Results 1 to 3 of 3