Search:

Type: Posts; User: mstratmann

Search: Search took 0.19 seconds.

  1. Replies
    20
    Views
    1,403

    Re: Instance variable inside a method

    I have got it to work for the most part however I now get this as my output! Any suggestions on why my loop does not continue to run?
    run:

    Welcome to the Web Host Ordering System

    Please enter...
  2. Replies
    20
    Views
    1,403

    Re: Instance variable inside a method

    I guess not, I just see the one I sent you in it if it is not to much trouble could you look over the WebHostOrder14 class and correct me if I'm wrong?
  3. Replies
    20
    Views
    1,403

    Re: Instance variable inside a method

    If I am not mistaking WebHost webHost; is what you are asking about right?
  4. Replies
    20
    Views
    1,403

    Re: Instance variable inside a method

    Ok I see the confusion now because shipping is defined in public class WebHostOrder14 as well as highest and lowest, however highest and lowest is also defined in the overloaded constructor in...
  5. Replies
    20
    Views
    1,403

    Re: Instance variable inside a method

    WebHost
    code is posted in post 1
  6. Replies
    20
    Views
    1,403

    Re: Instance variable inside a method

    shipping
    highest
    lowest
  7. Replies
    20
    Views
    1,403

    Re: Instance variable inside a method

    I guess I am not following what your asking I am sorry the code has worked until I added this new step and it has all been tested up to this point I guess the easiest way to explain what I need to do...
  8. Replies
    20
    Views
    1,403

    Re: Instance variable inside a method

    Yes as far as I understand I need to use printf() to display the output. I need to display the highest input value and the lowest inputed value, also I need to display the accumulated total of the...
  9. Replies
    20
    Views
    1,403

    Re: Instance variable inside a method

    In the computeShippingCharges() method I need to display total shipping, highest charge, and the lowest charge. I added to the WebHost() class I do not know if that is correct I am lost on this one!
  10. Replies
    20
    Views
    1,403

    Instance variable inside a method

    I am working on a project where I need to return 3 values I understand I can only return one using a method alone! So I need to add 2 instance variables, that will return the other 2 values. Can...
Results 1 to 10 of 10