home *** CD-ROM | disk | FTP | other *** search
- Smallest common denominator
- --------------------------------------------------------------------------------------
- Version: 1.0, 980205
- Creator: Daniel Bergman.
- Description: The program calculates the smallest common denominator for two fractions.
- You input the two denominators, and the common denominator is shown, tohether
- with the two digits the fractions must be multipliced with.
- Comments: No "=" not needed in the IF-line.
- Known bugs: None.
- Size: 44 bytes.
-
- For more games and programs, please visit http://ti80.burtrask.net.
-
- PROGRAM:SCD
- INPUT A
- INPUT B
- FOR(X,1,B
- IF FPART(AX/B
- END
- DISP AX,X,AX/B
-
- --------------------------------------------------------------------------------------
- Copyright (C) 1998 by Daniel Bergman & Mattias MorΘn
- http://ti80.burtrask.net
-