Problem Statement:
A 4thgrader is having trouble withPermutationandCombinationproblem in Mathematics, so a friend offered help to create a program they can use. The program contains 3 options, 1stoption is for Permutation, 2ndoption is Combination and 3rdis for terminating the system. For option 1, Permutation, they uses the following formula: nPr = ; where r must not be greater than n. It should not proceed if this condition is not met. For 2ndoption, Combination, they uses the formula : nCr = ; where r must not be greater than n as well. For the 3rdoption, the program owner’s information shall be displayed, like name, subject code and account number, before the program terminates.
Requirements:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here