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...
did the exercise myself for practice
how do i wrap this in java code?
ok, so I read your code, and I think you should think it out on paper before even writing the code. Figure out how you...
I am a beginner to java as well, so thought this might be good practice for me. Here's my code
<<<<<<<<<<<<<< code removed
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