HackerRank Conditional Statements in C Problem solution - TheCScience