weekly sales and math questions from google c++ tutorial