Hackerrank For Loop Solution
A for loop is a programming language statement which allows code to be repeatedly executed.
The syntax for this is
for ( <expression_1> ; <expression_2> ; <expression_3> )
<statement>
* expression_1 is used for intializing variables which are generally used for controlling terminating