Repeat a string: Difference between revisions

Added Befunge Solution
(Added Befunge Solution)
Line 190:
=={{header|BBC BASIC}}==
<lang bbcbasic> PRINT STRING$(5, "ha")</lang>
=={{header|Befunge}}==
<lang Befunge>
v> ">:#,_v
>29*+00p>~:"0"- #v_v $
v ^p0p00:-1g00< $ >
v p00&p0-1g00+4*65< >00g1-:00p#^_@
</lang>
Input sample:
<pre>ha05</pre>
Input string has to be zero terminated and less than 18 characters.
 
Output sample:
<pre>hahahahaha</pre>
 
=={{header|Bracmat}}==
Anonymous user