❔ C++ Program displaying same output regardless of input value.

Attached is my code and the output I receive with inputs "5000", "20000", and "34567"
The program is supposed to display how many years it takes until the input value reaches double of its initial value.
Any ideas???
image.png
image.png
image.png
image.png
Was this page helpful?