Files
Testate/WS2425/Ersatztestat/Operation.java
T
2025-07-21 16:03:34 +02:00

23 lines
432 B
Java

/**
* A class containing an operation on an array.
*
* @author Marcus
*/
public class Operation {
/**
* Computes the average of the values.
*
* @param values The values.
* @return The average of the values.
* @throws IllegalArgumentException Thrown if the values are null or
* if there are no values in the array.
*/
public static double average(double[] values) {
// TODO: implement
return -1;
}
}