Implement a Range-Based LCM Calculator - Implement a Range-Based LCM Calculator

Tell us what’s happening:

I genuinely don’t know what to do.
Maybe it is because english isn’t my first language, but I genuinely DO NOT understand what this exercise wants from me.
Even when looking at what other people have I don’t understand.

Can someone explain me in more detail WHAT this lab expects from me?

Thank you

Your code so far


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:149.0) Gecko/20100101 Firefox/149.0

Challenge Information:

Implement a Range-Based LCM Calculator - Implement a Range-Based LCM Calculator

Are you familiar with what least common multiple is? If not, see Least common multiple - Wikipedia. In lab it’s required to make function, which will return LCM for a range - based on the input array.

Ie. when input is [1, 5], the returned number should be LCM for all the numbers from range: 1, 2, 3, 4, 5, including both ends.

1 Like

omg I finally get it now.

I literally relearned it in school, didn’t know how to translate it but now I know it.

Thank you so much

1 Like