CodeYourFuture / CodeYourFuture/Module-Java

Write a Program to Print Prime Numbers

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
🎯 Topic Programming Fundamentals 🏕 Priority Mandatory 🐇 Size Small 📅 Sprint 1 Core
Dominant language
No language data
Stars
1
Forks
11
PR merge metrics
No merged PRs in 30d

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.