in reply to Re: seeking advice on loops
in thread seeking advice on loops
thank you for your input...I know you probably get asked for homework help all the time. I do want to do it myself otherwise I won't be able to go on with the rest of the book. I just feel like this program was a big jump from the chapter 6 homework
in answer to your questions:
2) is the loop something that occurs a set number of times, or should it keep occurring until a given condition changes?
the loop of user input keeps occuring - thru every loop (enter product name, enter quantity and price) the user is asked if they want to enter another product - when they answer "no" is when you leave the loop and invoke a subroutine to process the data
Thanks so much monks...I do appreciate your time
sierra
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: seeking advice on loops
by GrandFather (Saint) on Oct 07, 2005 at 05:58 UTC | |
|
Re^3: seeking advice on loops
by jZed (Prior) on Oct 07, 2005 at 18:04 UTC |