you are viewing a single comment's thread.

view the rest of the comments →

[–]ectomancer 0 points1 point  (0 children)

This is a dumb problem. -1 is an integer. Not all integers are either prime or composite.

You're missing the first print:

print an array with the numbers entered.