In this lecture ,i do not understand why we write that " ch!=’\n’ " .please tell the meaning of this line.Why we use this and what is the purpose of that?
Confusion in "Shortest Road Trip"
Hi
It basically means you have to process each character of the input string say “NESSE” till the time ‘\n’ is encountered. Stop as soon as you encounter ‘\n’(nextline)
Thank you very much for solving my doubt…