❔ 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???
3 Replies
Jimmacle
Jimmacle2y ago
$cpp
MODiX
MODiX2y ago
We're partnered with Together C & C++, check them out here: https://discord.gg/vnyVmAE
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?