Interesting situation: A friend of mine is trying to write a java program capable of finding the median value out of a list of 3 values (provided by the user).

The problem:
My friend does not know how to use if statements, nor do they know how to use arrays, loops, or many other basic functions of Java.

SO... any suggestions?