Anonymous
public text v1 · immutablebool isMyStringANumber(String s){
for(int i=0; i<s.length(); ++i){
c = s.charAt(i);
if(!(c<= '9' && c >= '0')){ // how should I have written this line?
// what goes here?
}
}
//what goes here?
}
// something else is missing - what is it?