Search:

Type: Posts; User: melki0795

Search: Search took 0.08 seconds.

  1. Replies
    26
    Views
    2,371

    Re: Assignment Problem. Please help

    I'll try doing that... Will a flowchart be more helpful?

    --- Update ---

    Theyre Not considered as valid responses because I'm trying to get the program to work. I know that the program can work...
  2. Replies
    26
    Views
    2,371

    Re: Assignment Problem. Please help

    import java.util.Scanner;
    public class Interrogator3
    {
    public static void main(String[] args) {



    //Welcoming Message
    System.out.println("Welcome to...
  3. Replies
    26
    Views
    2,371

    Re: Assignment Problem. Please help

    I want the methods to return the variable LetterSelection, back into the the main method so that I could display the letter
  4. Replies
    26
    Views
    2,371

    Re: Assignment Problem. Please help

    import java.util.Scanner;
    public class Interrogator3
    {
    public static void main(String[] args) {



    //Welcoming Message
    System.out.println("Welcome...
  5. Replies
    26
    Views
    2,371

    Re: Assignment Problem. Please help

    Thanks m8...
  6. Replies
    26
    Views
    2,371

    Re: Assignment Problem. Please help

    What do you mean by regular expressions? May you give me an example? ANy ideas of how I can make this program better so?
  7. Replies
    26
    Views
    2,371

    Re: Assignment Problem. Please help

    Is it possible to shorten the if statement?



    if (!Selection.equals("A") & !Selection.equals("B") & !Selection.equals("C")){


    I need something like
  8. Replies
    26
    Views
    2,371

    Re: Assignment Problem. Please help

    ahhhhhhhhhhhh....okokok.. can't believe i diidnt see that... I think I got it....

    Thanks.. I'll try it out...
  9. Replies
    26
    Views
    2,371

    Re: Assignment Problem. Please help

    ok, I'll try make myself more clear.



    System.out.println("Please Choose One of the following letters: A, B or C: ");//Asks the User for his input
    Scanner sc = new...
  10. Replies
    26
    Views
    2,371

    Re: Assignment Problem. Please help

    ....but then it doesn't work well...I cannot understand why. I spent 2 hours playing around with it.

    if its true... it still outputs the statement




    System.out.println("*Please Choose One...
  11. Replies
    26
    Views
    2,371

    Re: Assignment Problem. Please help

    I need either A, B or C to be true though. Not all three? :/
  12. Replies
    26
    Views
    2,371

    Assignment Problem. Please help

    Hi

    I need to make a program. Part of it requires the user to enter A B and C and display it. I am trying to make the program accept only A B and C and loop back if another string is entered.

    ...
Results 1 to 12 of 12