Search:

Type: Posts; User: taze

Search: Search took 0.10 seconds.

  1. Re: Attempting to calculate a budget and using public static double method(...)

    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!
  2. Re: Attempting to calculate a budget and using public static double method(...)

    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...
  3. Re: Attempting to calculate a budget and using public static double method(...)

    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...
  4. Re: Attempting to calculate a budget and using public static double method(...)

    oh, I see. The error after compiling is:

    budgetCalculator.java:49: error: cannot find symbol
    printReport(budget, transportation, utility, food, housing);

    ...
  5. Re: Attempting to calculate a budget and using public static double method(...)

    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....
  6. Re: Attempting to calculate a budget and using public static double method(...)

    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...
  7. Attempting to calculate a budget and using public static double method(...)

    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...
Results 1 to 7 of 7