Results 1 to 2 of 2
  1. #1
    watcher368 is offline Member
    Join Date
    Nov 2012
    Posts
    1
    Rep Power
    0

    Default Which values would you put into an array?

    Quote Originally Posted by Zack View Post
    Instead of doing the "if i ==", you could create an array to store the values then reference yourArray[i] to call it. For the Ace/Jack/etc., just do what you did before with the "if j == ...".
    Quick question - how/which values would you put into an array in order to call it?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Moderator
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    9,917
    Rep Power
    16

    Default Re: Which values would you put into an array?

    Removed from Creating a deck of cards and printing in console

    Don't post to old dead threads and don't hijack another member's thread. When you have a question, start your own thread -- they're free.

    Recommended reading: How to ask questions the smart way

    db
    Why do they call it rush hour when nothing moves? - Robin Williams

Similar Threads

  1. Help adding array values.
    By Kirstielol in forum New To Java
    Replies: 4
    Last Post: 03-20-2012, 06:42 PM
  2. Values in Array
    By jazob in forum New To Java
    Replies: 2
    Last Post: 12-10-2011, 01:29 AM
  3. Replies: 14
    Last Post: 01-22-2011, 02:36 PM
  4. An Array of different integer values
    By lithium002 in forum New To Java
    Replies: 7
    Last Post: 12-04-2009, 05:25 AM
  5. Same values in an array
    By hawaiifiver in forum New To Java
    Replies: 3
    Last Post: 02-24-2009, 08:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •