| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | primes |
Hi Bill, You wrote to me: BB> I have a wee problem with all these programs. Both 1 BB>and 2 are prime numbers, and they don't appear in the BB>results tables. Therefore, however obfuscate, these BB>programs are incorrect. So why ask me? I didn't write the code! Personally I wouldn't expect 1 to appear there as a number is prime if only divisible by 1 and itself, making 1 a special case. 2 is also conveniently treated as a special case, so I see no problem there either. It's easy enough to make them both appear in the output if needed... George * SLMR 2.1a * Computers eliminate spare time. --- Maximus/2 3.01* Origin: DoNoR/2,Woking UK (44-1483-717904) (2:440/4) SEEN-BY: 396/1 622/419 632/371 633/260 267 270 371 634/397 635/506 728 810 SEEN-BY: 639/252 670/213 218 @PATH: 440/4 255/1 440/1 80 252/356 140/1 270/101 396/1 633/260 635/506 728 @PATH: 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.