Good Luck. So i hope, you've solved the problem.
Type: Posts; User: Mr.777
Good Luck. So i hope, you've solved the problem.
No, i don't mean use indexOf() as you can simply return the value of i or j variable depending upon the index you are comparing with and match=true.
You can say 50%. Input it
String1: sha...
for (int j = 0; j < string2.length(); j++) {
d = string2.charAt(j);
if (d != c) {
match = false;
System.out.println("MATCH: N The value of c and d: " + c + " and " + d);
}...