sometimes .. we initialize a variable to zero ! why?
look at this algorithm for example ( nested loop ) :
Code:totalSteps = 0 FOR outsideCounter = 1 TO 5 INC BY 1 FOR insideCounter = 1 TO 5 INC BY 1 totalSteps = totalSteps + 1 OUTPUT “Outside = “ outsideCounter, “ Inside = “, insideCounter, “ Total Steps = “, totalSteps ENDFOR ENDFOR