❔ 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
Jimmacle17mo ago
$cpp
MODiX
MODiX17mo ago
We're partnered with Together C & C++, check them out here: https://discord.gg/vnyVmAE
Accord
Accord17mo 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.
Want results from more Discord servers?
Add your server