Search:

Type: Posts; User: unleashed-my-freedom

Search: Search took 0.12 seconds.

  1. Replies
    5
    Views
    1,722

    Re: Is it the same?

    I'm trying to ask if it is all right for me to calculate the mass first like long massOfTheBlock = length * width * height * density after that I then print out like
    System.out.println("The mass of...
  2. Replies
    5
    Views
    1,722

    Is it the same?

    I had tried this coding myself but I had a different answer from the solution given. May I know if it is the same?

    //calculate the mass
    long massOfTheBlock = length * width * height * density...
Results 1 to 2 of 2