how do you wire a c++ program that contains pre-defined and user-defined functions for a distance, radius, and area?