Words from neighbour ones: Difference between revisions

Content added Content deleted
(Initial FutureBasic task solution added)
Line 744: Line 744:
MutableStringSetString( mutStr, @"" )
MutableStringSetString( mutStr, @"" )
for i = 0 to len(noDuplicates) - 1
for i = 0 to len(noDuplicates) - 1
MutableStringAppendString( mutStr, fn StringWithFormat( @"%2ld. %@\n", i, noDuplicates[i] ) )
MutableStringAppendString( mutStr, fn StringWithFormat( @"%2ld. %@\n", i+1, noDuplicates[i] ) )
next
next
printf @"%@", mutStr
printf @"%@", mutStr
Line 755: Line 755:
{{output}}
{{output}}
<pre style="height:20ex;">
<pre style="height:20ex;">
0. applicate
1. applicate
1. architect
2. architect
2. astronomy
3. astronomy
3. christine
4. christine
4. christoph
5. christoph
5. committee
6. committee
6. composite
7. composite
7. constrict
8. constrict
8. construct
9. construct
9. different
10. different
10. extensive
11. extensive
11. greenwood
12. greenwood
12. implement
13. implement
13. improvise
14. improvise
14. intercept
15. intercept
15. interpret
16. interpret
16. interrupt
17. interrupt
17. philosoph
18. philosoph
18. prescript
19. prescript
19. receptive
20. receptive
20. telephone
21. telephone
21. transcend
22. transcend
22. transport
23. transport
23. transpose
24. transpose
</pre>
</pre>



=={{header|Go}}==
=={{header|Go}}==