MAIN DIRECTIONS: ~~~~~~~~~~~~~~~~~~~~~ Click that green flag! Enter in one of the following sequences: - "prime" if you want the prime factorization of 1 inputted number - "factor" if you want the list of factors for 1 inputted number - "gcf" if you want the greatest common factor of 2 inputted numbers - "LCM" if you want the least common multiple of 2 inputted numbers If anything else is entered, the program will fluidly restart and ask again. Press "a" to abort a function and restart the program. FUNCTIONS: ~~~~~~~~~~~~~~~~~~~~~~~ PRIME FACTORS: All you have to do is enter in a number. The program will add all of the prime numbers to the list that make up the prime factorization. DOES NOT INCLUDE 1. FACTORS: Enter a number. The program will list all of that number's proper factors, INCLUDING 1. GREATEST COMMON FACTOR: Enter in two numbers (the program will ask for them one at a time: the order of the numbers does not matter.) The program will find the greatest number that is a factor of both. LEAST COMMON MULTIPLE: Enter in two numbers (the program will ask for them one at a time: the order of the numbers does not matter.) The program will find the number of the smallest magnitude that is a multiple of both. ~~~~~~~~~~~~~~~~ Hit the space bar to restart the program. You will again be allowed to choose your factorization process.
NOTES: ~~~~~~~~~~~~~~~~~ * Only natural numbers are to be tested. * In case of a possible bug, each function will ask for the required number of inputs 1 AT A TIME (1 for factorization and prime factorization, 2 for GCF and LCM.) Do not put multiple inputs in one answer box. The second input and GCF/LCM variables WILL STAY HIDDEN unless the GCF or LCM functions are used, and will still stay invisible until the second input is entered. * There will be delays in the program: - If there are factors less than 10000, the delay will be negligible. - If there are factors between 10000 and 100000, the delay will be very small - If there are factors between 100000 and 1000000, the delay will be several seconds, maybe half a minute - If there are factors between 1000000 and 10000000, the delay will be multiple minutes - If there are factors between 10000000 and 100000000, the delay could exceed an hour. * For abortion, the "a" button will not activate a program restart until the function type is entered (a point after which there SHOULD be no reason to type the letter "a", only a natural number.) ~~~~~~~~~~~~~~~~~~~~~ CREDITS: Nope.