Ugh, I'm sorry. I'm trying to get the hang of this not spoon feeding I promise, I tried not to give any actual answers, and just be vague, guess I could have been more vague. I haven't been doing...
Type: Posts; User: ChicoTheMan94
Ugh, I'm sorry. I'm trying to get the hang of this not spoon feeding I promise, I tried not to give any actual answers, and just be vague, guess I could have been more vague. I haven't been doing...
This took me longer to figure out than I thought. Here's a question, why do you have interest as an int variable instead of a double? This code right here:
interest = (int)annualInterest / 12; is...
It would make your code look a lot better if you wrapped it with
and [ /code] (with no space.)
Looking over your code, You're calling the math function, yet you don't have it imported, it may...