repeatThreeTimes Complete the method repeatThreeTimes so that it returns a new String that repeats the parameter String
Posted: Sun May 15, 2022 10:21 am
repeatThreeTimes Complete the method repeatThreeTimes so that it returns a new String that repeats the parameter String 3 times. repeatThreeTimes("test") → "testtesttest" repeatThreeTimes("fish") — "fishfishfish" repeatThreeTimes("go") → "gogogo" Go ...Save, Compile, Run (ctrl-enter) public String repeatThreeTimes(String str) Go