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.
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.