To check prime number: Press space to start input a number then it will determine whether it's a prime number or not. To check factor: press up arrow to start input a number it will list out every factor the number has
This program determines if your number is a prime number. If you would like to know the algorithm, please leave the comment below. :D I'll reply you as soon as possible.