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

    Default How to assign letter values?

    Hey guys I have to write a program that asks the user for the number of rows in a section and then the number of positions in each row. I have to assign a letter to each row (A for 1, B for 2, etc. up to a max of 10). the program has to print out how many positions in each row so for example if there are 3 i need to write 3 seperate questions such as " How many positions in row A? " How many positions in row B" and so forth... How do i go about doing this? i am very new to java sorry if the question is not clear.

  2. #2
    javaTurtle is offline Member
    Join Date
    Nov 2011
    Location
    Arizona
    Posts
    10
    Rep Power
    0

    Default Re: How to assign letter values?

    jsaavedra, Well to start off, your going to need get used to these forums. I am surprised that no one has written a very "Angry" response to you about posting your homework in this forum. What the forums are looking for is to help people with specific problems, not "how do I write my code"

    So, I suggest that you try and tackle the problem first. Just start writing code, even if it doesn't work. If you are stuck on a specific feature or getting a specific error, do a search on that error. Most likely, that has already been discussed at some point.

    But based on your problem, make sure you have a general understanding of loops and arrays. Sounds like these will be very helpful in completing your program.

Similar Threads

  1. to assign values dynamically
    By su5 in forum New To Java
    Replies: 1
    Last Post: 04-28-2011, 08:00 PM
  2. Iterators - can you assign new values to them?
    By DerekRaimann in forum New To Java
    Replies: 2
    Last Post: 12-09-2010, 07:11 PM
  3. Assign it, or call it again,, (again!)
    By sonny in forum New To Java
    Replies: 4
    Last Post: 03-17-2010, 02:47 AM
  4. Array Assign Values from a Textfile
    By fawadafr in forum Java Applets
    Replies: 6
    Last Post: 11-30-2008, 12:10 AM
  5. Help! Need to randomly assign boxes
    By newb101 in forum New To Java
    Replies: 1
    Last Post: 09-16-2008, 10:57 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
  •