I'll go half-way. I will write 100% working pseudo-code.
There are a number of ways to organize the program, and you don't have to do it the way that I will illustrate, but unless you see a way...
Type: Posts; User: Zaphod_b
I'll go half-way. I will write 100% working pseudo-code.
There are a number of ways to organize the program, and you don't have to do it the way that I will illustrate, but unless you see a way...
Let's see if I can follow your code, alias22:
Prompt the user for a non-zero integer, read the value of n
Do a little bookkeeping and execute the following loop
WHILE n is not...