InterviewSolution
Saved Bookmarks
| 1. |
write a function to find the lcm of three numbers and then through the results to find the main function |
|
Answer» If you WANT to get LCM of 3+ numbers you can use your method lcmFind in following way: int a = 2; int b = 3; int c = 5; LCM L = new LCM(); int lcm = l. lcmFind(l. lcmFind(a, b), c);Explanation: |
|