You are viewing a single comment's thread. Return to all comments →
int i = 1; scanner.skip("(\r\n|[\n\r\u2028\u2029\u0085])?"); while (i<11) { System.out.println(N + " X " + i + " = " + N * i); i++; }
Logically the above works as per the requirement however the validation on hackerrank is informing this fails the scenario, how is that?
Seems like cookies are disabled on this browser, please enable them to open this website
Java Loops I
You are viewing a single comment's thread. Return to all comments →
Logically the above works as per the requirement however the validation on hackerrank is informing this fails the scenario, how is that?