Interesting facts below are below the controls. V V V V V V V V V V V V V V V V V V V -=-=- HOW TO USE -=-=- Just type in a number! The program knows if you entered in a word, and it will tell you if you did! It also knows if you entered in a decimal number or a negative number. It converts negative numbers to positive numbers, so don't worry! Typing in C or c clears it. Typing in R or r creates a random number from 1 to 1000. Clicking on the stage (white frame) sets the backdrop to the thumbnail, and stops the project. Prime Numbers that multiply to create a non-prime number are used in cyber-security as a mechanism for giving the user two private keys, (Say, in this case we have 6 and 5), and the public one is 30, or 6*5 (just imagine that these are on a 10^10, or 10^50 scale in size). It's a lot harder to find a number's factors than it is to multiply two together, so this is a very efficient security measure. You can see here for yourself, since two prime numbers are used to multiply together and make a non prime number, in order to find 2 private keys from a public key, the calculator would first need to know all possible factors, then make sure two factors are primes, and then do that over and over again until it's finished.
If (for whatever reason) you need to use this factor calculator in another project, just make sure that you A) that your project can read the output, B), that it resets after every line (unless of course your project can detect that too), and of course, D), that you give credit to me.