dunno why. I'm gonna take a break, I'm pretty brainfried at the moment. I've been at this since like 9 a.m. its about 830 p.m. now. I've had a few 20-30 minute breaks. But I think I need another one. Love y'all!
package com.codegym.task.task06.task0611;
/*
StringHelper class
*/
public class StringHelper {
public static String multiply(String s) {
String result = "";
int i = 0;
while (i < 5){
result += 5;
i++;
}
return result;
}
public static String multiply(String s, int count) {
String result = "";
int a = 0;
while (a < count){
result += count;
a++;
}
return result;
}
public static void main(String[] args) {
System.out.print(multiply("money"));
System.out.print(multiply("money", 69));
}
}