Search:

Type: Posts; User: dx8292

Search: Search took 0.38 seconds.

  1. Replies
    10
    Views
    1,328

    Re: Please help, simple IF/ELSE decison question.

    jps i don't know if he has gotten as far as .equals and toUpperCase methods yet, just cause it looks like a basic if/else chapter in some book

    and IronRyan I forgot something in discount =...
  2. Replies
    10
    Views
    1,328

    Re: Please help, simple IF/ELSE decison question.

    if (totalPrice >= 50)
    {
    System.out.println("Apply 10% discount (y/n)?");
    discount = (in.nextLine());
    if (discount=="n")
    {
    System.out.println(" ");
    }
    }
Results 1 to 2 of 2