Skip to content

MixoGlad/Prime-Numbers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prime-Numbers

This algorithm helps you determine prime numbers #What is a prime number ? prime numbers are numbes which are not completely divisible by other numbers but only divisible by one and itself. 11,13,17,19,23,29

The code shows hows you can leverage bolean to determine if a number is prime or not.

11 is divisible by itself and one

input number

you will neeed to input a number and the program will divide every number from 2 to 29 output if remainder is == 0 then the numer is not prime else the number is prime

The program will return display all prime numbers and non prime depending on the user's input

About

This algorithm helps you determine prime numbers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages