Computer Science Canada What type of loop should I use |
Author: | Williamarf [ Fri Oct 19, 2012 4:10 pm ] | ||
Post subject: | What type of loop should I use | ||
I made this program for an assignment and its finnished, but I want to add a loop so I don't have to rerun my programe for each char. What type would be best? Thanks for any assistance you can provide. ![]()
|
Author: | whoareyou [ Fri Oct 19, 2012 6:10 pm ] |
Post subject: | RE:What type of loop should I use |
I think a do-while loop would be appropriate. |
Author: | QuantumPhysics [ Sat Oct 20, 2012 2:03 am ] | ||
Post subject: | Re: What type of loop should I use | ||
Or you can have a for loop and have the user input the amount of times to run the program
And, it is actually spelled - 'Digit' not 'Diget' (That sounds more like dig it) |
Author: | Insectoid [ Sat Oct 20, 2012 6:02 am ] | ||
Post subject: | RE:What type of loop should I use | ||
Or you could use a for loop with a boolean.
|