Loop's
#4

Quote:
Originally Posted by V1ceC1ty
That's exactly what i want but i need to explain how to make it restart/loop again.
We are going to be creating a program which works in a loop, what this means is that the program will repeat it's routine an infinite number of times until the programs process is closed by the user or system. The program will consist of a user input which will take two numbers from the user and add these numbers together to produce a value, if the value is less than twenty and greater than zero then the program will display a dialog to the user but if the value is greater than nineteen or less than one then the dialog will not be shown to the user. The program will now repeat this routine following the same pattern each time until it's closed, this is an unconditional loop and infinite as explained above.

Maybe something like that or do you mean you need to explain how a loop actually works as in conditionals and execution of the routines like a while(), program flow and all that?
Reply


Messages In This Thread
Loop's - by V1ceC1ty - 05.03.2010, 10:54
Re: Loop's - by Donny_k - 05.03.2010, 13:19
Re: Loop's - by V1ceC1ty - 05.03.2010, 23:21
Re: Loop's - by Donny_k - 06.03.2010, 00:25
Re: Loop's - by V1ceC1ty - 06.03.2010, 00:40
Re: Loop's - by iLinx - 06.03.2010, 01:36
Re: Loop's - by V1ceC1ty - 06.03.2010, 03:16
Re: Loop's - by Donny_k - 06.03.2010, 04:28

Forum Jump:


Users browsing this thread: 3 Guest(s)