×

Loading...

请看源程序和英文翻译:

heater (肠子)
]LIST
10 LET LCM=0
20 INPUT M,N
30 LET LCM=LCM+M
40 IF INT(LCM/N)*N<>LCM THEN 30
50 PRINT "The lowest common multiple is "; LCM
60 END

]RUN
27,36
The lowest common multiple is 108

]RUN
19,6
The lowest common multiple is 114

]

注:此程序在APPLE-II、Laser-310、PZ-80等微电脑上运行通过。
lowest common multiple 查自金山词霸2000
(#128548@0)
2001-7-11 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: 请问最小公被数的英语是什么?如果能有源大妈就更好拉。thanks~~

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT杂谈