Sha256: 1166b0314a7fa2b792ff06d60ff5af1d4139eeda646239b18dd314fe74d918a9

Contents?: true

Size: 549 Bytes

Versions: 1

Compression:

Stored size: 549 Bytes

Contents

INPUT "E f umb.":f
INPUT "E c ub.":c
PRINT "T u f"f""c" "f+c"."
PRINT "T ffc b"f""c" "ABS(f-c)"."
PRINT "T uc f"f""c" "f*c"."
IF c THEN
    PRINT "T  qu f"f""c" "INTEG(fc)"."
ELSE
    PRINT "D b z  c."
ENDIF
PRINT "T  b..."f%c"."
PRINT STR$(f)"    f"c" "f^c"."

'''NOTES:''' S cuu c f  BASIC     c :

I  BASIC, T c INTEG   u  fuc    u f  ccc. T  BASIC INT c ccu   u fuc. T ff f    f BASIC.
 BASIC uc  c  f  b ub. T c cu uc f u  cb uu f uc b  . I   u   c, u u u   ()  cc  uc u   f  (  c,      f c c). I  c f  c, u u c  uc u   u  STR$ c (     f  c).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zettacode-0.1.0 zettacode.files/arithmetic.integer/smart_basic.txt