Overview: The function will present 0 after the 1st term of the G.S. Step to Reproduce: 1) Start the calculator 2) Enter 3 to enter Formula Mode 3) Enter 4 to input the GS 4) Enter 2 3 5 for 1st term, common ratio and number of terms 5) Press enter to continue Expected Result: 2 6 18 54 162 Actual Result: 2 0 0 0 0 Build Date & Hardware: 24-11-2020 on Windows 10.0.18363
The Geo.java has calculated the sequence in the wrong way, which causes a wrong sequence to be displayed on the cli. By adding a new variable to handle the inputs, it solves the problem.