You are viewing a single comment's thread. Return to all comments →
System.out.print(a[i]+" "+a[i+1]+" ");
till case 2 only 2 values are printed in but 3 and 4 more than 2
Seems like cookies are disabled on this browser, please enable them to open this website
Closest Numbers
You are viewing a single comment's thread. Return to all comments →
System.out.print(a[i]+" "+a[i+1]+" ");
till case 2 only 2 values are printed in but 3 and 4 more than 2