I am using the temp to avoid the out-of-bounds error for when E is the first letter of a String.
Yes the first problem works.
Type: Posts; User: jslam
I am using the temp to avoid the out-of-bounds error for when E is the first letter of a String.
Yes the first problem works.
I finished the first problem and ended up getting:
public static String sameEnds(String str)
{
int len = str.length();
String output = "";
if(len==0)
...
Hello Forum, I am a new user and I have been at this problem for over 2 hours with my friends. We honestly don't know what's wrong and if could help us that would be awesome :D
The question is,
...