Search:

Type: Posts; User: Tjstretch

Search: Search took 0.20 seconds.

  1. Replies
    26
    Views
    16,087

    Re: JAVA help on file: Internet Service Provider

    You didn't read the end did you:

    Do what I said in my last post and add at the very top instead of
    double additionalHoursFee;
    do
    double additionalHoursFee = 0;

    That initializes the...
  2. Replies
    26
    Views
    16,087

    Re: JAVA help on file: Internet Service Provider

    So it did not fix the problem? If not than look at this:

    It is always doing the statement
    additionalHoursFee = additionalHours * 2.00;
    additionalHours is negative if it is below 10 (in case A)...
  3. Replies
    26
    Views
    16,087

    Re: JAVA help on file: Internet Service Provider

    I was thinking about it, and there is an unnecessary step in your java code:
    int regularHours;
    ..
    regularHours = 10;
    ..
    regularHours = 20;


    Try it without that added variable
Results 1 to 3 of 3