It prompts the user to enter an integer N. It prints out if it is a prime or not. If not, it prints out all of its proper factors.

0 Shares
Share
Tweet
Share
Pin
+1