How to calculate sum of first n odd numbers July 8, 2019 16 32 64 128 Wacp to calculate the sum of first n odd numbers using while loop