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