A c++ program that checks balance and manages the balance