Find LCM of 2 numbers without using GCD
|
07-30-2018, 04:07 PM
Post: #3
|
|||
|
|||
RE: Find LCM of 2 numbers without using GCD
This is the Python program that I came up with:
Code: def lcm(a, b): And this is for the HP-42S: Code: 00 { 30 Byte-Prgm } I hope that's what you had in mind. Cheers Thomas PS: Look ma, no modulus. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)