Inspiration

The creation of this program was inspired by a topic that is used all throughout school, whether it be for elementary or high school students; factoring!

What it does

This program allows the user to input any number, and the program will list all of the possible factors of that number, and if it is prime or composite.

How we built it

We built this using Replit, in the Java language.

Challenges we ran into

The main challenge that we ran into was ensuring that the program would correctly identify if the number is prime or composite, and this part took a while to code!

Accomplishments that we're proud of

We are proud that we went out of our comfort zone and tried implementing more complex ideas in our code (as beginners, a lot of these ideas are quite complex to us!)

What we learned

We learned many new things, such as implementing for loops and exploring if statements in our code, as well as simple equations using user input to make the code more concise.

What's next for Prime and Composite Number Checker With Factors!

In the future, we would like to create more helpful programs like these for students, and possibly create a GUI for a more user-friendly experience!

Built With

Share this project:

Updates