Minor C++ Program (Source code only available)