This java program Calculates the sum of a geometric sequence q = (1/2) = 0.5 n is a natural number (including 0).
Everywhere where it says "// here" asserti