Implemented variable arguments examples for finding average of n real numbers and maximum of n integers.