You are viewing a single comment's thread. Return to all comments →
but then why did scan.nextInt() took 141, it should take \n as its input, since scan.nextDouble took 1.2341 and left \n in buffer.... Please explain??
Seems like cookies are disabled on this browser, please enable them to open this website
Java Stdin and Stdout II
You are viewing a single comment's thread. Return to all comments →
but then why did scan.nextInt() took 141, it should take \n as its input, since scan.nextDouble took 1.2341 and left \n in buffer.... Please explain??