Post Reply 
Find LCM of 2 numbers without using GCD
07-30-2018, 06:21 PM
Post: #8
RE: Find LCM of 2 numbers without using GCD
(07-30-2018 05:46 PM)Gamo Wrote:  Sorry I don't have the 42S at hand.

You really should check Thomas Okken's Free42.

Here's a program for the HP-11C:
Code:
LBL A
STO 0
x<>y
STO 1
LBL 0
x=y
RTN
x>y
GTO 1
RCL 1
+
GTO 0
LBL 1
x<>y
RCL 0
+
x<>y
GTO 0

Kind regads
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Find LCM of 2 numbers without using GCD - Thomas Klemm - 07-30-2018 06:21 PM



User(s) browsing this thread: 1 Guest(s)