HackerRank Rectangle Area in C++ problem solution - TheCScience