Jump to content



Photo
- - - - -

LCM [fx-5800P]

fx-5800P

  • Please log in to reply
No replies to this topic

#1 Tritonio

Tritonio

    Casio Addict

  • Members
  • PipPipPip
  • 77 posts
  • Gender:Male

  • Calculators:
    fx-5800P, fx-991ES+, fx-991EX, HP Prime, fx-9750GIII, fx-3650P II

Posted 08 September 2019 - 06:37 PM

Small program to find the least common multiple for two numbers on an fx-5800P

?M
?N
N→B
N<M⇒M→B
For 1→F To B
Cls
Locate 1,1,BxF
If Frac(BxF÷N)=0 And Frac(BxF÷M)=0
Then
Break
IfEnd
Next
Cls
"LCM":BxF




Also tagged with one or more of these keywords: fx-5800P

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users