SyntaxFix
Write A Post
Hire A Developer
Questions
Your compiler is right. You can't use the growthRate variable you declared in main as a function.
Maybe you should pick different names for your variables so they don't override function names?