Home ยป decesion making in c++