Hi,
I am trying to read multi line user input, which I don't know the count of
those lines. Is there any way to do it.
Eg:
User will give one sample piece of code like below we have to read complete
code without skipping content. As it is a piece of code we cannot get
number of lines we have to read.
import java.io.*;
public class SquareNum {
public static void main(String args[]) throws IOException
{
System.out.println("This is a small Java Program!");
}
}
Thanks
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/05b21718-f600-44a8-a46c-d22561ed9776o%40googlegroups.com.