this post was submitted on 02 Dec 2025
122 points (97.7% liked)
Books
7950 readers
95 users here now
A community for all things related to Books.
Rules
- Be Nice. No personal attacks or hate speech.
- No spam. All posts should be related to discussion or reviews related to books. (Please avoid posts that are just a link to the book and a generic summary)
- No self promotion.
Official Bingo Posts:
Related Communities
Community icon by IconsBox (from freepik.com)
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I had a Book about Java with a code demonstrating to get prime numbers.
The code just outputted odd numbers.
hate to tell you this but you may have copied it wrong
tbf it didn't say the output was only prime numbers
Nope. I remember the book also showed the output:
1
3
5
7
9 lol
that's amazing