Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java how to assign alphabet letter a score

'a' = 97;
'z' = 122;

'A' = 65;
'Z' = 90;

score += strArr[i].charAt(j) - 'a' + 1;
 
PREVIOUS NEXT
Tagged: #java #assign #alphabet #letter #score
ADD COMMENT
Topic
Name
1+8 =