❔ 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
$cpp
We're partnered with Together C & C++, check them out here: https://discord.gg/vnyVmAE
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.