FabSwingers.com > Forums > Wales > TEST OF FORUMITE MATURITY
TEST OF FORUMITE MATURITY
Jump to: Newest in thread
|
By (user no longer on site) OP
over a year ago
|
Got this from another forum I use. We have a bit of fun with it.
--------------------------------------
This is the test: to get from 1-100 with no people breaking the chain by posting anything other than the appropriate number.
For example, I type "1", the next poster types "2", the next poster types "3", etc etc until 100 is reached.
There must be alternate posters, if anyone posts a wrong number or a multiple number the next poster must start from 1 again.
If anyone breaks the chain, by posting anything other than a single number following the previous one, then the next poster has to start from 1 again also. |
Reply privately, Reply in forum +quote
or View forums list | |
"it be easier to just do the following?
"int counter = 1;
while (counter =100){
printf ("%d\n", counter);
++counter;
}
return 0;"
"
Easier? All thats easier than just going 2?
Prof, you need your head read dude lol!
|
Reply privately, Reply in forum +quote
or View forums list | |
|
By (user no longer on site)
over a year ago
|
"it be easier to just do the following?
"int counter = 1;
while (counter =100){
printf ("%d\n", counter);
++counter;
}
return 0;"
"
There is a mistake in line 2:15 it should be "less than or equal to"="
sorry about that and the removed posts |
Reply privately, Reply in forum +quote
or View forums list | |
» Add a new message to this topic