G
gast21
Gast
Ich komme nicht weiter, und erbitte eure Hilfe!
Was muss ich zwischen float und return in der Methode schreiben?
Code:
public class Erweiterung {
public static float Zinsrechnung (float Kap,float Ps,float Lz)
{
float ergebnis=0;
return ergebnis;
}
public static void main(String[] args) {
float Kap= 2133;
float Ps = (float) 1.73;
float Lz = 2;
//Math.pow(Zinsrechnung (Kap*Ps*Lz));
}
}
Was muss ich zwischen float und return in der Methode schreiben?