4. Largest prime smaller than given number

Write a program that computes and prints the largest prime number that is smaller than a number provided by the user, which must be a positive integer.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset