Search:

Type: Posts; User: pbrockway2

Search: Search took 0.08 seconds.

  1. Replies
    5
    Views
    1,370

    Re: Simple addition problem help please!

    You're welcome - I'm glad you've got it sorted out.
  2. Replies
    5
    Views
    1,370

    Re: Simple addition problem help please!

    Yes, what you get is the string concatenation of all the items. + does two things in Java: it performs string concatenation and it performs arithmetic addition. Basically you should do the...
  3. Replies
    5
    Views
    1,370

    Re: Simple addition problem help please!

    What does "did not work" mean? Specifically I guess we are talking out the lines:



    //14
    System.out.println("\n" + car1.CalcSellingprice() + car2.CalcSellingprice() + car3.CalcSellingprice() +...
Results 1 to 3 of 3