Write a Program to Print Prime Numbers
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 85/100
Research direction
Start with the Java program's Main method and create the requested private method for printing prime numbers up to 1000. Call it from main, use sensible names, and add documentation where needed. Test the program and confirm that it prints all prime numbers through 1000.
Written by the indexing model from the issue text.
Description
Create a private method to print all prime numbers up to 1000. Call this from a main method. Remember to use sensible method and variable names, and add documentation where necessary! Remember to use the debugger if something goes wrong!
Learning Objectives
- Create a private Java method to print all prime numbers up to 1000
- Call this method from a Main method
- Test the Java program
Why are we doing this?
To practice Java development
Maximum time in hours
1
- Dominant language
- No language data
- Stars
- 1
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CodeYourFuture/Module-Java
-
🎯 Topic Programming Fundamentals 🏕 Priority Mandatory 🐇 Size Small 📅 Sprint 1 Core
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
🎯 Topic Programming Fundamentals 🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 7 Core
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
🎯 Topic Programming Fundamentals 🏕 Priority Mandatory 📅 Sprint 7 🦑 Size Large Core
Difficulty 5/5 Over a week Newbie friendliness 45/100
-
Sprint 6 Challenge Open🎯 Topic Programming Fundamentals 🏕 Priority Mandatory 📅 Sprint 6 🦑 Size Large Core
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
🎯 Topic Programming Fundamentals 🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 5 Core
Difficulty 4/5 3-5 days Newbie friendliness 45/100
All issues in CodeYourFuture/Module-Java
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
syfoud/Simulated_Scepter#172 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
crossplane/crossplane#7859 ·
-
bot:ai-assisted component:compact-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
midnightntwrk/midnight-sdk#403 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nightscout/nocturne#1379 ·