Hi,
I found 2 ways to get the right answer .
When I go to verify failure occurs because I don't mention newtons any where .
As I read thru questions / comments . I find no mention of newtons .
Thanks
Mike McKenna
When i changed moonWeight to lunarWeight .task verified . even with uneven math
package com.codegym.task.task01.task0136;
/*
Even to the moon!
*/
public class Solution {
public static void main(String[] args) {
System.out.println(getWeight(888));
}
public static double getWeight(int earthWeight) {
double moonWeight= earthWeight *.17;
return moonWeight;
}
}