Search:

Type: Posts; User: mrivera85

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    818

    [SOLVED] Re: Remainder issue

    Here is the "calculation" portion of the code:



    int tempLeft = sum/perTerm; //Calculates number of terms left
    int termLeft = 0;
    if ((tempLeft % 4) == 0){
    ...
  2. Replies
    5
    Views
    818

    [SOLVED] Re: Remainder issue

    My apologies - here's the output:

    Welcome to the Western Governor's University Graduation Planner!
    We will calculate the number of terms you have left until graduation,
    along with the amount...
  3. Replies
    5
    Views
    818

    [SOLVED] Remainder issue

    The actual computations aren't working properly when it comes to the remainder. Specifically the variable termLeft. Any suggestions?



    package graduationplanner;
    import java.util.Scanner;...
  4. Replies
    3
    Views
    1,040

    [SOLVED] Re: InputMismatchException

    Thanks - I guess because the output began with the next question and the error was also in the next section, I just assumed it had to do with that one, not the previous one. When I removed the whole...
  5. Replies
    3
    Views
    1,040

    [SOLVED] InputMismatchException

    The only data type I'm using is int - so I don't see where this error is coming from. I use the same format in a previous section and I get no errors.



    package graduationplanner;
    import...
  6. Replies
    3
    Views
    870

    [SOLVED] Re: ArrayList assistance

    The error I get is for the line:

    sum = sum + Integer.parseInt(leftCU.get(i));

    leftCu.get(i) is highlighted with an error of: incompatible types: Integer cannot be converted into a String.

    I...
  7. Replies
    3
    Views
    870

    [SOLVED] ArrayList assistance

    Goal is to get user input and sum together. I've tried it different ways. This is the one with the least amount of problems.

    Exception in thread "main" java.lang.RuntimeException: Uncompilable...
  8. Replies
    6
    Views
    859

    Re: Compile error - empty string?

    output:

    Welcome to the Western Governor's University Graduation Planner!
    We will calculate the number of terms you have left until graduation,
    along with the amount of tuition you have left to...
  9. Replies
    6
    Views
    859

    Compile error - empty string?

    I'm writing basically my first program for school. I've written small ones, following instructions, but this is the most vague. I'm having issues. I can't figure out what the error means. I'm not...
Results 1 to 9 of 9