Jump to content

Sum of the digits of n is substring of n: Difference between revisions

→‎{{header|BASIC}}: marked incorrect
(Add Snobol)
(→‎{{header|BASIC}}: marked incorrect)
Line 43:
 
=={{header|BASIC}}==
{{incorrect|BASIC|wrong output, last should be 919<br><br>suspect I mod 10 shd be K mod 10}}
<lang basic>10 DEFINT I,J,K
20 FOR I=0 TO 999
7,805

edits

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