Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Assigning intgers to a letter.

807599Feb 1 2007 — edited Feb 2 2007
Hey!

I'm doing a project on attendance lists and for that i am using textfields to input letters such as P and A.
The question is how to i assign integers to the letters that i input.

For example, if i were to type in P in the textfield, the program would assign :
P = 1
A= 0
L=0 as such.

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 2 2007
Added on Feb 1 2007
6 comments
130 views