Search:

Type: Posts; User: Ancharius

Search: Search took 0.24 seconds.

  1. Replies
    9
    Views
    1,686

    Re: If Else loop or do while loop

    Thanks a lot!
  2. Replies
    9
    Views
    1,686

    Re: If Else loop or do while loop

    package monthypayment2;
    import java.text.NumberFormat;
    import java.util.Scanner;


    public class Monthypayment2 {
    private static double monthlypay1;
    private static...
  3. Replies
    9
    Views
    1,686

    Re: If Else loop or do while loop

    I put the statements in the incorrect place and tried this.


    if (monthlypay1 >= 0) {
    System.out.print("The Monthly Payment is: $ " + monthlypay1);
    System.out.print("Would you...
  4. Replies
    9
    Views
    1,686

    Re: If Else loop or do while loop

    Any help?

    --- Update ---

    Guys please. I really need help on this. What I've tried is this.


    int repeat = 0;
    int error = 0;
  5. Replies
    9
    Views
    1,686

    If Else loop or do while loop

    What I'm trying to do is say the user types in -100000 for a loan amount
    or "two" for the rate. I'm trying to give them an error message and put them back into putting in the loan amount or rate....
Results 1 to 5 of 5