© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
3 replies
Himito Moneylini

❔ 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
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ c# input and output files
C#CC# / help
3y ago
❔ Stealth Program C#
C#CC# / help
3y ago
✅ input / output confusion
C#CC# / help
2y ago
✅ Main program input arguments
C#CC# / help
17mo ago