I am currently trying to write a program that will accept a positive integer between 50 and 300 and count the number of factors the number has. Output the numbers and the number of factors in a sentence. Have the program decide whether the number is prime?
This is what I have so far, but it keep saying every number isn't prime, even if they are.
Also when I run the program if the number is under 50 or 300 it still shows the factors in the picture box. How can I fix this?