0

How to repeat a string n number of times

the n is an int and you must repeat what the str says n times.. but only the first 3 chars in the string.

7/31/2016 1:31:04 PM

Ashmeen Cloete

2 Answers

New Answer

0

Take the output into the loop hope it helps

0

Yeah put it in a loop. you will probably want to convert the String to a char array if you only want the first 3 letters.