Docsity

Assignment 3: Implementing Permutations, GCD, and LCM, Assignments of Programming Languages

Partial preview of the text

Download Assignment 3: Implementing Permutations, GCD, and LCM and more Assignments Programming Languages in PDF only on Docsity!

  1. Implement the permutation through perm() function

r n r

n Cr

n

  1. Write a function that returns LCM (Least Common Multiple) of two Numbers.