Search:

Type: Posts; User: mstratmann

Page 1 of 2 1 2

Search: Search took 0.30 seconds.

  1. Replies
    3
    Views
    277

    Re: Inventory CSV files

    Yes if you don't mind that would be great.
  2. Replies
    3
    Views
    277

    Inventory CSV files

    I need help figuring out the best way to write a program that would read an existing inventory file (which is for my online store) and a new inventory file of around 10000 lines (my physical...
  3. Replies
    1
    Views
    172

    Loops and arrays

    I have a problem with loops and arrays. I need to gather an int response between 1 and 5 and store it in to the however it will accept all ints plus after it reaches question 10 it just repeats.

    ...
  4. Replies
    6
    Views
    275

    Re: java.lang.NullPointerException

    That is what I thought the variables is exactly what my instructor told me to use.

    Also you are correct originally I used String questions[] = new String[10], which seemed to work but as I said...
  5. Replies
    6
    Views
    275

    Re: java.lang.NullPointerException

    /*
    * Author: Thomas Stratmann
    * Course: IT152
    * Date: Sep 2, 2013
    * Program: IT152
    * Phase 1 Individual Project, Customer SurveyOld
    */

    public class SurveyTest24 {
  6. Replies
    6
    Views
    275

    java.lang.NullPointerException

    I have typed this code exactly the same way on my last program and now I am getting the following error!

    Exception in thread "main" java.lang.NullPointerException
    at...
  7. Replies
    4
    Views
    1,101

    Re: Arrays and MD Arrays

    I have ran a test and this is what I am getting

    run:
    Please enter a question!
    3
    Please enter a question!
    4
    Please enter a question!
    5
    Please enter a question!
  8. Replies
    4
    Views
    1,101

    Arrays and MD Arrays

    Hi I am confused and stuck on this I have a method enterQuestions() that uses a String array to hold 10 questions for a survey. However I also need to display these 10 questions and then store the...
  9. Replies
    1
    Views
    491

    Help with Arrays

    Hi I am trying to pass information from one method in to a 2 dimensional array any help is appreciated.



    import java.io.PrintStream;
    import java.util.Scanner;

    public class Survey {

    ...
  10. Thread: Need Help!

    by mstratmann
    Replies
    2
    Views
    315

    Re: Need Help!

    Ok here is the code!!


    public WebHostOrder14() {
    WebHost webHost;
    double average;
    ShippingData shipping;
    ShippingData highest;
    ShippingData lowest;
  11. Thread: Need Help!

    by mstratmann
    Replies
    2
    Views
    315

    Need Help!

    Hi I am trying to finish a simple program up and having a few issues with the code and the output. Here is my output!
    Welcome to the Web Host Ordering System

    Please enter the price of the new...
  12. Replies
    20
    Views
    407

    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...
  13. Replies
    20
    Views
    407

    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?
  14. Replies
    20
    Views
    407

    Re: Instance variable inside a method

    If I am not mistaking WebHost webHost; is what you are asking about right?
  15. Replies
    20
    Views
    407

    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...
  16. Replies
    20
    Views
    407

    Re: Instance variable inside a method

    WebHost
    code is posted in post 1
  17. Replies
    20
    Views
    407

    Re: Instance variable inside a method

    shipping
    highest
    lowest
  18. Replies
    20
    Views
    407

    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...
  19. Replies
    20
    Views
    407

    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...
  20. Replies
    20
    Views
    407

    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!
  21. Replies
    20
    Views
    407

    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...
  22. Replies
    7
    Views
    340

    Re: Need help STUCK

    I am sorry could you please give me an example; I do not understand like I said I am a newbie!
  23. Replies
    7
    Views
    340

    Re: Need help STUCK

    sorry autocorrect will respond in 30 minutes from my work

    --- Update ---

    Welcome to the Web Host Ordering System

    Enter 0 to end
    Please enter the price of the new package: $
    150
    Please...
  24. Replies
    7
    Views
    340

    Re: Need help STUCK

    at the end of the loop at Justins no option to repeat in account all the inputs for the loop not just the price part of the loop
  25. Replies
    7
    Views
    340

    Need help STUCK

    I need to ask if the user wants to add another product receive a yes or no and run the loop again? Also I need to count the products and add the prices together to figure an average?


    private...
Results 1 to 25 of 31
Page 1 of 2 1 2