HackerRank Basic Data Types in c++ problem solution - TheCScience