Search:

Type: Posts; User: Adam Appleby

Search: Search took 0.44 seconds.

  1. Replies
    1
    Views
    97

    reprompting for a string?

    Hi,

    Can someone explain to me how to have a user input information again if their initial one was incorrect? For example, in this it will have the user go back to select an invoice number within...
  2. Replies
    7
    Views
    152

    Re: Understanding String(s)

    So I can just use the length() to change them and complete the loop?
  3. Replies
    7
    Views
    152

    Re: Understanding String(s)

    I've read the above and still don't understand. It sounds simple but I just don't get how to use a String where I can compare words since whatever I do I get an error saying there is a problem with...
  4. Replies
    7
    Views
    152

    Understanding String(s)

    Hi,

    I'm having a hard time understanding strings, how they can be compared, and how they can be used as charAt. I guess I'll present it as a problem. Let's say I am having a contest for my...
  5. Replies
    8
    Views
    135

    Re: I'm so lost

    I've gotten everything to work except on the if...else statements. If the user inputs "2" it always comes back with a fee of 0. I've tried changing various things but don't know what else I can do.
  6. Replies
    8
    Views
    135

    Re: I'm so lost

    I add that to the if...else in the main?

    Do you happen to know how to use the fees generated from the if...else statements in the class? Nothing I do seems to work.
  7. Replies
    8
    Views
    135

    Re: I'm so lost

    I fixed it so now it will say "true" (that they picked over night delivery) but how do I add the $35 to the total? And, how do I generate the "fee" from the class? Is the whole displayFee part...
  8. Replies
    8
    Views
    135

    I'm so lost

    I'm new to Java and in the book I'm reading, Java Programming by Joyce Farrell, things have gotten very complicated very quickly. I've spent well over ten hours on this problem and think I've...
Results 1 to 8 of 8