Search:

Type: Posts; User: JavaPF

Search: Search took 0.24 seconds.

  1. Replies
    5
    Views
    3,147

    Re: BufferedReader error?

    =:) Good work copeg.
  2. Replies
    5
    Views
    3,147

    Re: BufferedReader error?

    Try this :D



    import java.io.*;

    public class Main
    {

    public static void main(String[] args) throws IOException
  3. Replies
    5
    Views
    3,147

    Re: BufferedReader error?

    I have compiled your code but I do not get this error when I enter anything other than 1. I can clearly see it doesn't work though.

    I don't really think the way you have coded this is the best...
Results 1 to 3 of 3