Search:

Type: Posts; User: Norm

Search: Search took 0.27 seconds.

  1. Replies
    5
    Views
    1,235

    Re: Help with a Java Methods Program

    Can you explain what you did to get it working?
  2. Replies
    5
    Views
    1,235

    Re: Help with a Java Methods Program

    The code works for me.
    How are you executing the program?

    Add this line following the line where name is being read:

    System.out.println("name="+name+"<"); // show what was read
  3. Replies
    5
    Views
    1,235

    Re: Help with a Java Methods Program

    Can you copy the contents of the command prompt window and paste it here so we can see what you are talking about?

    Please edit your post and wrap your code with code tags:



    **YOUR CODE GOES...
Results 1 to 3 of 3