Question: Exercise#2: More Prime Number Test Modify the program of Exercise #1 so after checking one integer the program ask the user if it is required

 Exercise#2: More Prime Number Test Modify the program of Exercise #1

Exercise#2: More Prime Number Test Modify the program of Exercise #1 so after checking one integer the program ask the user if it is required to check another integer. See sample input/output below: Sample input/output: Enter an integer in the range [10e, 100000]: 13 Enter an integer in the range [100, 100000j: 2537 2537 is not prime you like to check another integer? Y for yes and N for no: T you like to check another integer? Y for yes and N for no: 4 Do you like to check another integer? Y for yes and N for no: ? Do you like to check another integer? Y for yes and N for no: y Enter an integer in the range [100, 100000]: 8723 723 is not prime you like to check another integer? Y for yes and N for no: N

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!