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...
Type: Posts; User: mattmattmatt
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...
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...
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...
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...
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...
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:...
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...