Hi,
ich bin neu bei Java. Habe ein Problem mit der Methode... es wirft die Fehlermeldung: "The Selection cannot be launched and there are no recent launches." aus.
was heißt das, was fehlt mir?
ich bin neu bei Java. Habe ein Problem mit der Methode... es wirft die Fehlermeldung: "The Selection cannot be launched and there are no recent launches." aus.
Java:
public class Sinus{
public static double maxSinus(int low, int high) {
double max = -2f;
double temp;
for(int i = low; i <= high; i++) {
temp = Math.sin(i);
if(max < temp)
max = temp;
}
return max;
}
was heißt das, was fehlt mir?
Zuletzt bearbeitet von einem Moderator: