Draw a flow chart and write pseudocode for an iterative algorithm that calculates 1 - 1/2 +1/3 - ... +(or -) 1/n. 1/k is added to the sum if k is odd and subtracted from the sum if k is even. (This sum converges in 2, the natural logarithm of 2).