Assignment One: Given two integers, a and b, their least common multiple, commonly denoted LCM(a,b), is the smallest integer that is a multiple of both a and b. For example, the least common multiple of 6 and 4 is 12. This is because 12 is both a multiple of 6 (6*2=12) and 4 (4*3=12). This means that 12 is the smallest multiple for both 4 and 6.
For this exercise, create an
ASP.NET page and corresponding function that accepts two integer inputs and then computes and displays the least common multiple (LCM) for the numbers entered. The formula for to determine the LCM is given as:
LCM(a,b) = (a * b) / GCD(a,b)
(see the rest attached)