Search:

Type: Posts; User: LoganC

Search: Search took 0.17 seconds.

  1. Replies
    19
    Views
    2,377

    Re: Whats Wrong? Beginning Code!

    Thanks a lot, both of you. I appreciate you Norm helping me educate myself, but I also thank Chico for helping me with a quick fix. This surely will educate me for the future. Thanks Chico and...
  2. Replies
    19
    Views
    2,377

    Re: Whats Wrong? Beginning Code!

    I have printed out everything that has to do with this program and I don't see anything that is zero.
  3. Replies
    19
    Views
    2,377

    Re: Whats Wrong? Beginning Code!

    What is your first name?
    Logan
    What is the price of the car? 150000
    What is the downpayment? 500
    What is the trade-in value? 1000
    For how many months is the loan? 60
    What is the decimal...
  4. Replies
    19
    Views
    2,377

    Re: Whats Wrong? Beginning Code!

    custNameLogan
    annualInterest0.05

    Is what is being printed for custName
    and annualInterest is printing .05

    So it's not reading 0 exactly, what else should I try.
  5. Replies
    19
    Views
    2,377

    Re: Whats Wrong? Beginning Code!

    I am not quite sure how to find out what variable was zero and how you explain it, maybe you can explain?
  6. Replies
    19
    Views
    2,377

    Re: Whats Wrong? Beginning Code!

    Hey Norm, I just added my whole code in the post above.
  7. Replies
    19
    Views
    2,377

    Re: Whats Wrong? Beginning Code!

    Thanks guys fixed that, now im down to this. All errors are gone but just trying to run now, and im getting the errors below.
    Im getting close!



    /***
    Chapter 3 Debugging Assignment
    ...
  8. Replies
    19
    Views
    2,377

    Re: Whats Wrong? Beginning Code!

    The only problem I am getting now that I haven't fixed is at the bottom.

    System.out.print("The monthly payment for " + custName + " is $");
    System.out.println(payment);

    return;
    ...
  9. Replies
    19
    Views
    2,377

    Whats Wrong? Beginning Code!

    Here is my code I have to debug for my computer programming class. I don't know what else to do! I have fixed a few, but probably 3 or 4 left. Thanks!


    /*
    Chapter 3 Debugging Assignment
    ...
Results 1 to 9 of 9