Jump to content

Square but not cube: Difference between revisions

m
(→‎{{header|Tcl}}: Add implementation.)
Line 720:
260 PRINT</lang>
 
{{works with|Commodore BASIC|3.5,7.0}}
This version uses BASICthe 7'slater BASIC DO ... LOOP structure:
<pre>100 DIM SC(2): SC = 0: REM REMEMBER SQUARE CUBES
110 PRINT "SQUARES BUT NOT CUBES:"
1,480

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.