Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Re: My code is not displaying on the console. In need of much help!

    Look at the definition of the setProjectScore() method and at how you are calling it in post#3.
    what is the second arg used for? What values are you using when you call the method?

    Your code...
  2. Re: My code is not displaying on the console. In need of much help!

    How and where are the grades PUT into the jimmy object so that you can pull them?
  3. Re: My code is not displaying on the console. In need of much help!

    Where do the values for the scores come from? How are they loaded into the program?
  4. Re: My code is not displaying on the console. In need of much help!

    When trying to find a bug in code (debug) you can use the System.out.println() statement to display the values of variables so you can see what the computer sees and understand what the code is...
  5. Re: My code is not displaying on the console. In need of much help!

    Add the debug printlns to all called methods so you can see what the variables' values are.

    What happens when you compile and execute the code? What is printed?
  6. Re: My code is not displaying on the console. In need of much help!

    System.out.println(projectLength);
    vs this: add an id string:
    System.out.println("pL="+projectLength);

    Also add some printlns in the method that is called to show the values of the variables...
  7. Re: My code is not displaying on the console. In need of much help!

    Add a call to System.out.println() that prints out the values of the variables used in the while() statement. Put the println statement before the while() statement. What it prints out should help...
Results 1 to 7 of 7