Let's Count To 1,000,000
|
|
PsychoAlex | Date: Monday, 2010-07-19, 6:24 PM | Message # 1 |
Grand High ServerMaster
Group: CBC Administrators
Messages: 166
Reputation: 9001
Status: Offline
Country: United Kingdom
| No Double Counts, make it intersting.
|
|
| |
PsychoAlex | Date: Monday, 2010-07-19, 6:25 PM | Message # 2 |
Grand High ServerMaster
Group: CBC Administrators
Messages: 166
Reputation: 9001
Status: Offline
Country: United Kingdom
| 1
|
|
| |
ThePope | Date: Monday, 2010-07-19, 6:40 PM | Message # 3 |
Above Average
Group: CBC Member
Messages: 61
Reputation: -3
Status: Offline
Country: United Kingdom
| 2
An' another thing? You're ugly.
|
|
| |
PsychoAlex | Date: Monday, 2010-07-19, 6:59 PM | Message # 4 |
Grand High ServerMaster
Group: CBC Administrators
Messages: 166
Reputation: 9001
Status: Offline
Country: United Kingdom
| 3
|
|
| |
Sarge | Date: Monday, 2010-07-19, 8:40 PM | Message # 5 |
Above Average
Group: CBC Member
Messages: 62
Reputation: 0
Status: Offline
Country: United Kingdom
| 476
DrKukri - 'The only thing to fear is fear itself. And Beholders, of course.' What about Nazis! Fucking Amateur
|
|
| |
DrKukri | Date: Monday, 2010-07-19, 10:48 PM | Message # 6 |
Fastest Trekkie in the West!
Group: CBC Administrators
Messages: 63
Reputation: 69
Status: Offline
Country: United Kingdom
| Console.Writeline("Insert highest number in range") MaxRange = Console.Readline Console.Writeline("Insert lowest number in range") MinRange = Console.Readline For Stepper (1 to (MaxRange - MinRange)) MaxRange - 1 = Maxrange Console.Writeline(MaxRange) Loop I know it's probably wrong, but it'd still be more efficient than counting the damn way there. Plus, it counts backwards, but that could be fixed with a very long array.
The only thing to fear is fear itself. And Beholders, of course, but that goes without saying.
|
|
| |
PsychoAlex | Date: Monday, 2010-07-19, 11:44 PM | Message # 7 |
Grand High ServerMaster
Group: CBC Administrators
Messages: 166
Reputation: 9001
Status: Offline
Country: United Kingdom
| int Max = 478; int Cur = 3; for(int x = Cur; x <= Max; x++) { Cur++; System.out.println(Cur); } System.out.println(Cur + 1); System.out.println("Next Number"); Output: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ... ... ... 470 471 472 473 474 475 476 477 Next Number
|
|
| |
ThePope | Date: Tuesday, 2010-07-27, 4:22 PM | Message # 8 |
Above Average
Group: CBC Member
Messages: 61
Reputation: -3
Status: Offline
Country: United Kingdom
| 69
An' another thing? You're ugly.
Message edited by ThePope - Tuesday, 2010-07-27, 4:22 PM |
|
| |
PsychoAlex | Date: Tuesday, 2010-07-27, 6:24 PM | Message # 9 |
Grand High ServerMaster
Group: CBC Administrators
Messages: 166
Reputation: 9001
Status: Offline
Country: United Kingdom
| 70
|
|
| |
ThePope | Date: Friday, 2010-07-30, 3:57 PM | Message # 10 |
Above Average
Group: CBC Member
Messages: 61
Reputation: -3
Status: Offline
Country: United Kingdom
| 卐
An' another thing? You're ugly.
|
|
| |
Sarge | Date: Wednesday, 2010-08-04, 12:23 PM | Message # 11 |
Above Average
Group: CBC Member
Messages: 62
Reputation: 0
Status: Offline
Country: United Kingdom
| 999,999
DrKukri - 'The only thing to fear is fear itself. And Beholders, of course.' What about Nazis! Fucking Amateur
Message edited by Sarge - Wednesday, 2010-08-04, 12:23 PM |
|
| |
Cakeski_McSandvich | Date: Wednesday, 2010-08-04, 10:34 PM | Message # 12 |
Above Average
Group: CBC Member
Messages: 44
Reputation: -1
Status: Offline
Country: United Kingdom
| 42
|
|
| |
PsychoAlex | Date: Thursday, 2010-08-05, 3:14 AM | Message # 13 |
Grand High ServerMaster
Group: CBC Administrators
Messages: 166
Reputation: 9001
Status: Offline
Country: United Kingdom
| cube root 30.959144
|
|
| |
Cakeski_McSandvich | Date: Thursday, 2010-08-05, 9:48 AM | Message # 14 |
Above Average
Group: CBC Member
Messages: 44
Reputation: -1
Status: Offline
Country: United Kingdom
| 9001?
|
|
| |
PsychoAlex | Date: Thursday, 2010-08-05, 10:14 AM | Message # 15 |
Grand High ServerMaster
Group: CBC Administrators
Messages: 166
Reputation: 9001
Status: Offline
Country: United Kingdom
| no PI
|
|
| |