Home > Back-end >  For help
For help

Time:05-06

From the keyboard input some string, separated by Spaces, programming to determine how much these strings begin with ab are string, here is my code, has always had a wrong show 20 lines, big help!

CodePudding user response:

The second for loop to: for (j=I; jIf (s1. CharAt (j)=='\ t') {
I=j + 1;
break;
}
}
In addition, don't forget to turn off the scanner class
  • Related