Results 1 to 3 of 3
  1. #1
    fenhoff is offline Member
    Join Date
    Jan 2010
    Posts
    1
    Rep Power
    0

    Default converting letters to numbers

    Was wondering how to convert letters to numbers in java. We are working on a problem in class that has you input information for a cd. For example Title, Artist, Year and month produced, and then input a bar code number. I have the code down for all the inputs and then display what the user just entered.

    What i was wanting to do is take the Title and Artist inputs convert those letters to numbers then add the year and month on the end to create its own barcode.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    No, no, no, you didn't just post this same question in multiple fora without telling others you were doing this did you? You know of course that this is highly frowned upon and you know why, correct?

  3. #3
    senorbum is offline Member
    Join Date
    Aug 2009
    Posts
    76
    Rep Power
    0

    Default

    Quote Originally Posted by fenhoff View Post
    Was wondering how to convert letters to numbers in java. We are working on a problem in class that has you input information for a cd. For example Title, Artist, Year and month produced, and then input a bar code number. I have the code down for all the inputs and then display what the user just entered.

    What i was wanting to do is take the Title and Artist inputs convert those letters to numbers then add the year and month on the end to create its own barcode.
    How about you try it, then report back.

Similar Threads

  1. new to java, converting words into numbers
    By echo33 in forum New To Java
    Replies: 4
    Last Post: 04-22-2009, 09:52 AM
  2. Need help with counting letters
    By mrdestroy in forum New To Java
    Replies: 15
    Last Post: 10-22-2008, 01:33 PM
  3. printing two smallest numbers from a series of numbers
    By trofyscarz in forum New To Java
    Replies: 2
    Last Post: 10-14-2008, 11:46 PM
  4. Letter with Letters
    By elgatoboricua in forum New To Java
    Replies: 7
    Last Post: 09-16-2008, 02:59 PM
  5. validating a string for numbers and letters?
    By lockmac in forum New To Java
    Replies: 1
    Last Post: 08-09-2007, 09:17 AM

Posting Permissions

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