Company: Revature_10thjuly
Difficulty: medium
Mathematical Calculations: Least Common Multiple You're given an array A of size N holding positive integers. Write a program that computes the LCM of the numbers in the array. Note The LCM , or Least Common Multiple , is the smallest positive integer divisible by every number in the set. Input Format The first line gives N , the array's size. The second line lists the array's elements, space-separated. Output Format Output a single integer: the LCM of the array's elements. Test Case 1 Input 3 45 60 75 Expected Output 900 Actual Output 900