0

What to use instead of using cin.ignore() in java?

It is known the use of cin.ignore(); in c++. But my question is, what should be used in java as an alternative to this function? Also, my code is taking extra newline in output after the first output. What should I do?

24th Oct 2020, 1:08 AM
Akil 🇧🇩
Akil 🇧🇩 - avatar
2 Réponses
0
Share your code link within the thread Description above for analysis. It is the recommended way where a question concerns a code. https://www.sololearn.com/post/75089/?ref=app
24th Oct 2020, 1:39 AM
Ipang