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.
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.