A Java program that implements a 7-function calculator.