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;"> |
||
1. applicate |
|||
2. architect |
|||
3. astronomy |
|||
4. christine |
|||
5. christoph |
|||
6. committee |
|||
7. composite |
|||
8. constrict |
|||
9. construct |
|||
10. different |
|||
11. extensive |
|||
12. greenwood |
|||
13. implement |
|||
14. improvise |
|||
15. intercept |
|||
16. interpret |
|||
17. interrupt |
|||
18. philosoph |
|||
19. prescript |
|||
20. receptive |
|||
21. telephone |
|||
22. transcend |
|||
23. transport |
|||
24. transpose |
|||
</pre> |
</pre> |
||
=={{header|Go}}== |
=={{header|Go}}== |