It compiles and with a few minor tweaks to the basic mathematics it works as it's supposed to! Thank you so much for the help and sorry for being so confused! You really cleared it up, thank you!
Type: Posts; User: taze
It compiles and with a few minor tweaks to the basic mathematics it works as it's supposed to! Thank you so much for the help and sorry for being so confused! You really cleared it up, thank you!
3. So basically, you're saying that what I am attempting to do is do a calculation without stating the variables first - trying to define c before I define a and b.
So I thought to, in place of...
Unfortunately - I don't see it clearly.
You state:
Should the calculateTermBudget() method be called first, or should the other methods be called first with their results used to call the...
oh, I see. The error after compiling is:
budgetCalculator.java:49: error: cannot find symbol
printReport(budget, transportation, utility, food, housing);
...
import java.util.Scanner;
public class budgetCalculator {
public static void main(String[] args) {
//Scanner
Scanner scan = new Scanner(System.in);
//Find out number of roommates....
SO I did that and have been able to continue with my program, but now that it is mostly coded I have run into a problem. The program will not compile around the printReport method.
import...
I'm trying to get back the answer in my public static double method. Every time I try to compile, however, it doesn't recognize this: (double kms, double fuelEfficiency, double carIns) and says I am...