Question: 1) Using Java find the first prime numbers less than 100, 2) randomly multiply two of them. 3)Then given the product the program has to
1) Using Java find the first prime numbers less than 100, 2) randomly multiply two of them. 3)Then given the product the program has to "guess" what were the factors or prime numbers used for that product. 4)Count the number of combinations tested before finding the correct pair and run it at least 20 times or more and write down your results for every case and the average of the combinations tried to find the correct prime numbers.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
