ok got it, will check
sweet, got it to work! thx
public class changePi {
public String changeToPi(String str){
String total = "";
Type: Posts; User: imrllyhandsome
ok got it, will check
sweet, got it to work! thx
public class changePi {
public String changeToPi(String str){
String total = "";
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 4
at java.lang.String.substring(Unknown Source)
at changePi.changeToPi(changePi.java:12)
at...
So I am new to java and been practicing recursion with recursion practices from codingbat
The problem im working on is this
CodingBat Java Recursion-1 changePi
and here's my code for it