Anyone good with Java?

Discussion in 'Computing, Science, and Technology' started by ChrisL, Oct 10, 2009.

  1. ChrisL

    ChrisL Well-Known Member

    Joined:
    Jul 26, 2008
    Messages:
    8,704
    Likes Received:
    159
    Okay well, I'm taking a Java class and I need some help with an assignment.
    We're supposed to make a Java program using switch statements that takes the user input that describes a playing card and then would output the full description of the card.

    A..Ace
    2-9..Card Values
    T..Ten
    J..Jack
    Q..Queen
    K..King
    D..Diamonds
    H..Hearts
    S..Spades
    C..Clubs

    So if the user enters AD, it would display "Ace of Diamonds"
    jH would display "Jack of Hears"
    Does anyone know how to do this?
  2. hooger

    hooger Banned

    Joined:
    Sep 29, 2007
    Messages:
    419
    Likes Received:
    2
    Yes I do know how.
  3. ChrisL

    ChrisL Well-Known Member

    Joined:
    Jul 26, 2008
    Messages:
    8,704
    Likes Received:
    159
    Mind explaining? Or youre just stating that you know how

    Please Register or Log in to view images

Share This Page