Search:

Type: Posts; User: Sean4u

Search: Search took 0.08 seconds.

  1. Replies
    17
    Views
    1,854

    Re: Concatenating Inputs, need help please!

    What I do when I'm learning programming languages (I never stop) is I get Program5 working first and then copy it to Porgram5UsingCharAt and just change the little bit that makes it different. That...
  2. Replies
    17
    Views
    1,854

    Re: Concatenating Inputs, need help please!

    Good! Now do it newbie's way in post #12!
  3. Replies
    17
    Views
    1,854

    Re: Concatenating Inputs, need help please!

    You're absolutely right ... if xdrechsler's professor has asked for a calculator program to add one-digit numbers. That's another thing xdrechsler could ask!
  4. Replies
    17
    Views
    1,854

    Re: Concatenating Inputs, need help please!

    Show us what you tried. A hint to get you going with Scanner without using java.util.regex.Pattern is to delimit your input. Put a space between each of your inputs like this: '3 + 5'. Then the...
  5. Replies
    17
    Views
    1,854

    Re: Concatenating Inputs, need help please!

    Maybe, I think a lot of other forumers are more familiar with it than I am. Your first step is to read the API documentation for it to work out if it's right for your problem, what methods might work...
  6. Replies
    17
    Views
    1,854

    Re: Concatenating Inputs, need help please!

    Maybe you want java.lang.Scanner - do you mean you type at the command prompt '3+5' all at once and your program reads the 3, then the +, then the 5?
Results 1 to 6 of 6