Given the total number of objects, n, and the number of objects selected r, the permutation is calculated by
where n! is the factorial of n, namely
Write a program that asks the user to enter a n and a r, and then calculates the permutation of r out of n.