Skip to content

These two programs take a given integer n > 1 and return an array with all the integer's divisors (except 1 and the integer itself), from smallest to largest. If the integer is a prime number, it returns a string; '(integer) is prime'. Both programs deliver the same results, except one has imported modules, while the other does not.

Notifications You must be signed in to change notification settings

IPCHALLIS/Find-the-Divisors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

About

These two programs take a given integer n > 1 and return an array with all the integer's divisors (except 1 and the integer itself), from smallest to largest. If the integer is a prime number, it returns a string; '(integer) is prime'. Both programs deliver the same results, except one has imported modules, while the other does not.

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages