Search:

Type: Posts; User: cam25

Search: Search took 0.27 seconds.

  1. Replies
    8
    Views
    485

    Re: Question on a method?

    When I test using the toString method it returns that issue . How would I call the information from the other class into this class?
  2. Replies
    8
    Views
    485

    Re: Question on a method?

    Thanks and I have one more question on the calcuategpa method. Would I use a while loop to go through the array to make the calculation, or would I use a different way?
  3. Replies
    8
    Views
    485

    Re: Question on a method?

    This is the output :12345
    Cameron Cochran
    0.0
    null null 0.0 . It prints out null for the gpa, courseID , lettergrade and numbergrade variables. Im trying to figure out how to get the...
  4. Replies
    8
    Views
    485

    Question on a method?

    I am doing project, that deals with an array and I was having trouble with one of the methods called calcuateGPA. The method goes through an array of courses and makes the appropriate calculation. ...
  5. Replies
    5
    Views
    623

    Re: Program returning wrong values.

    Thanks for the help. I got the code to work. My last issue is how to fix the decimal places in my answer. I need to have the numbers with two decimal places ( i.e. 4.53). How do I format my...
  6. Replies
    5
    Views
    623

    Program returning wrong values.

    After I compile the following and try to run it, it prints out the wrong values for the customer variable and cost variable.



    /** @author CCochran */
    /** @version Java Version 6 Update...
Results 1 to 6 of 6