Adding a new C++ averaging program