Search:

Type: Posts; User: DaveK

Search: Search took 0.11 seconds.

  1. Replies
    10
    Views
    1,682

    Re: How do I loop with an If statement

    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.
  2. Replies
    10
    Views
    1,682

    Re: How do I loop with an If statement

    Got it! Thanks!
  3. Replies
    10
    Views
    1,682

    Re: How do I loop with an If statement

    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.
  4. Replies
    10
    Views
    1,682

    Re: How do I loop with an If statement

    Sorry still learning. Do you have any example?
  5. Replies
    10
    Views
    1,682

    Re: How do I loop with an If statement

    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...
  6. Replies
    10
    Views
    1,682

    How do I loop with an If statement

    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
Results 1 to 6 of 6