Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Re: "Separate Numbers"-Problem:Assigning Variables to User Inputs.

    Next step in posting code is to properly indent. The code in each nesting level of {} should be indented.
    Something like this:


    import java.util.Scanner;
    public class Number
    {
    public...
  2. Re: "Separate Numbers"-Problem:Assigning Variables to User Inputs.

    Glad you got it working.

    In the future Please wrap your code with
    <YOUR CODE HERE> to get highlighting
  3. Re: "Separate Numbers"-Problem:Assigning Variables to User Inputs.

    Have you figured it out now?
  4. Re: "Separate Numbers"-Problem:Assigning Variables to User Inputs.

    Are you trying to get the first letter and the last letter from a String?
    Look at using the String class's substring method. It will allow you to get any character in a String.

    If you are working...
Results 1 to 4 of 4