The first input MUST BE A POSITIVE INTEGER (whole number higher than 0) once the program has finished calculating the prime numbers for you, you can right click the list and export it to a .txt file to keep.
calculate prime numbers like this if the number you are checking, when divided by 2, is a whole number, it isn't prime. if it is still a prime number, divide it by every other prime number that is smaller than it until it is a whole number. if it still isn't a whole number, then it is prime and you should add it to the list.