Thread: Change this program so it uses function??

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Sounds like you're printing it as it is making change. Try printing when it's done instead. Also, stuff like this isn't that hard to troubleshoot if you stop and actually think. Go over what you said:

    "It prints it out four times."

    Well gee, that sounds like it's being printed in a loop.


    Quzah.
    Hope is the first step on the road to disappointment.

  2. #2
    Registered User
    Join Date
    Oct 2005
    Posts
    53

    Angry

    Quote Originally Posted by quzah

    Well gee, that sounds like it's being printed in a loop.


    Quzah.

    i got that, ive tried a few things but i can only get it to work when it prints in a loop pattern. ill keep workin on it...
    Last edited by stormfront; 11-01-2005 at 08:45 AM. Reason: oops, had to reword my sentence.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. doubt in c parser coding
    By akshara.sinha in forum C Programming
    Replies: 4
    Last Post: 12-23-2007, 01:49 PM
  2. Consumer program
    By wise_ron in forum C Programming
    Replies: 11
    Last Post: 09-27-2006, 05:21 AM
  3. const at the end of a sub routine?
    By Kleid-0 in forum C++ Programming
    Replies: 14
    Last Post: 10-23-2005, 06:44 PM
  4. I need help with passing pointers in function calls
    By vien_mti in forum C Programming
    Replies: 3
    Last Post: 04-24-2002, 10:00 AM