Ergebnis wird korrekt in der Konsole angezeigt, aber letzte Anforderung wird nicht erfüllt (Ergebnis soll richtig berechnet werden...)
package de.codegym.task.task01.task0136;
/*
Sogar bis zum Mond!
*/
public class Solution {
public static void main(String[] args) {
System.out.println(gewichtUmwandeln(888));
}
public static double gewichtUmwandeln(int gewichtErde) {
// schreib hier deinen Code
double a = 888;
double b = 0.17;
double gewichtUmwandeln = a * b;
return gewichtUmwandeln;
}
}