public class Solution { public static void main(String[] args) { System.out.println(getWeight(888)); } public static double getWeight(int weightEarth) { double P = ((weightEarth / 100) * 17); return P; } } This is what I get as a result: 136.0 How to get 150.96?
(((double)weighEarth/100)*17);- rjhdby