PDA

View Full Version : Finding the least common multiple, LCM of three numbers



whoop_john
- 8th December 2016, 08:18
I have a situation in PBP where I need to calculate the LCM of three numbers, each of which are never larger than 16. Can anyone point me to a simple method for calculating these please?

CuriousOne
- 11th December 2016, 19:36
As this is not MCU specific, you can find a lot of examples, in different BASIC dialects, online.