Glad you've got it working!
Type: Posts; User: curmudgeon
Glad you've got it working!
I've added code tags and a comment to the code in your post above to indicate the offending line. In the future, please whenever posting code use
[/code] tags around your code else we'll not be...
Ah, you're still not defining the method correctly. You will want to read up on how to declare methods that take parameters since the parameter variables need types as well as variable names. In...
Yes, you're missing the obvious:
public static void output(fuelcost, miles); // <===== *** check out this semicolon here. Does it belong?
{
DecimalFormat twoDigits = new...
Next obvious question: which line is 83?
Then have a look at all of the semicolons you've used near the bad line.
If your compiler is telling you that you have a compilation error, you'll probably want to share this important bit of information with us, since the error messages are usually pretty...