package com.javarush.task.task01.task0136; /* Да хоть на Луну! */ public class Solution { public static void main(String[] args) { System.out.println(getWeight(888)); } public static double getWeight(double earthWeight) { earthWeight = earthWeight*0.17; return earthWeight; } } Почему нельзя было сразу присвоить переменной earthWeight тип double?