correct the format

System.out.println(“final total is : “,+ addfinalTotal +);
addfinalTotal  it will return double value…

is not working….

Add Comment
  • 2 Answer(s)

    “final total is : “,+ addfinalTotal + —- it isn’t java syntax
    use System.out.println(“final total is : “+ addfinalTotal);

    Reviewer Answered on July 10, 2015.

    And of cause, write feedback.

    on July 10, 2015.
    Add Comment

    Thanks…working now

    Train Answered on July 10, 2015.

    you are welcome)
    mark this question as answered, please.

    on July 10, 2015.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.