HackerRank For Loop in C Problem solution - TheCScience