Yep must have been the computer or Netbeans. I tried the System.out.print() again on a different computer and it worked fine. Very frustrating, I knew that was how to do it.
Type: Posts; User: DaveK
Yep must have been the computer or Netbeans. I tried the System.out.print() again on a different computer and it worked fine. Very frustrating, I knew that was how to do it.
Got it! Thanks!
I've tried this every way I can think of, and I cant the answer to (y/n) to appear on the same line right after the : of the question.
Sorry still learning. Do you have any example?
Thanks for the response. I actually took a second look at the do loop. I did some trial and error and ended up with this. It works. The only thing is, when the user is prompted for the y/n? The input...
Here is what the program needs to be able to do:
//Run1
"Enter loan amount: 100000
Enter rate: 6
Enter number years: 30
The monthly payment is: $599.55
I read this before and it helped. I missed the part about monthly rate. so I just added this
yearRate = interestRate * .01; //convert rate into decimals
**...
Do you have an example?
I convert the annual interest rate with
monthlyRate = interestRate * .01; //convert rate into decimal
Will that not do the same as /100?
I'm sorry. I don't understand how to use highlight tags. But the answer should be $297.47 in this example and I am getting $566.06. My answer is incorrect meaning the math must be wrong. I can't...
Hello,
I am very new to programming and I have hit a stuck point in my code. This is for a mortgage calculator and we have to use the math.pow method. I am getting results, but the results are...