Prime Numbers

by st3v362!59
See Code Download Embed
This program is meant to figure out if a number is prime or composite.

If it takes a while to return an answer, it is safe to assume the number is prime.

I am aware that it may not be completely accurate regarding a number being prime or composite. I coded it to the best of my ability. This program uses a brute force method to figure out if a number is prime.

The program works with numbers like 863., 86.4, -431, and -432.0.

2^82589933-1 and "a hundred" does not work.

I imported some code from U4L4-BigNumbers by bkariuki

Created June 16, 2023

Last updated February 6, 2025

Published February 6, 2025