Code this.add(value);. In each iteration, add() will increase the calculator's current value by its initial value.
this.add(value);
add()
Make sure to type this.add(value);.