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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!