Untitled

mail@pastecode.io avatar
unknown
java
2 years ago
183 B
1
Indexable
Never
public double Durchschnitt (double a, double b, double c)
{
 if(c == 0)
 {
   System.out.println(„Dritter Wert fehlt“);
 }
 double result = summe(a, b, c) / 3;
 return result; 
}