Baseball Cost C++