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...
Type: Posts; User: unleashed-my-freedom
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...
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...