adjust and add small practice c++ programs