Average Calculator Complex.

Average Calculator Complex code in Java.