Sum of the digits of n is substring of n: Difference between revisions
Sum of the digits of n is substring of n (view source)
Revision as of 16:13, 15 April 2021
, 3 years ago→{{header|BASIC}}: marked incorrect
Not a robot (talk | contribs) (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
|