Search:

Type: Posts; User: mattmattmatt

Search: Search took 0.07 seconds.

  1. Replies
    16
    Views
    1,879

    Re: Homework Assignment help..

    And that's what I'm saying. It compiles and everything correctly. Zero errors. The problem now is logic, I'm guessing within the program. No matter what, the actual printed values are the same. They...
  2. Replies
    16
    Views
    1,879

    Re: Homework Assignment help..

    Yeah it is working, but not properly. For some reason, it keeps giving me the same numbers despite the testing I do. For example, Here is the data that I start with (I changed the values around a bit...
  3. Replies
    16
    Views
    1,879

    Re: Homework Assignment help..

    I went back and moved the } to the end so that everything was in main, but the new error is :

    Exception in thread "main" java.lang.Error: Unresolved compilation problems:
    Syntax error on token...
  4. Replies
    16
    Views
    1,879

    Re: Homework Assignment help..

    Yeah it gave several errors starting with line 17. It says "<identifier> expected" after the println. There's a few of those errors for that line pretty much same error just different spot. It's...
  5. Replies
    16
    Views
    1,879

    Re: Homework Assignment help..

    For A) Nope that's the thing. It doesn't show me an error in eclipse. Just in the console at the bottom when I try to run it, and it gives the error I posted above. Eclipse is showing nothing wrong...
  6. Replies
    16
    Views
    1,879

    Re: Homework Assignment help..

    My fault on that, I should have specified. A couple of problems to start with...

    A) I use Eclipse, and this is the error I get when running the main:
    Exception in thread "main" java.lang.Error:...
  7. Replies
    16
    Views
    1,879

    Homework Assignment help..

    I have a programming assignment where I'm basically supposed to have a Thermostat class and a main. With the Thermostat, you set the desired temperature and heating/cooling and once it gets to that...
Results 1 to 7 of 7