You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your task is to program an algorithm that for three distint integers, returns their median. For example, if the input is 3, 1 and 2, the output is 2. You only need to implement the method "Median" in the file "Main.java".
*/
import java.util.Arrays;
class Main {
public static void main(String[] args) {
int round = In.readInt(); //Read the number of actions