Question: * Write a static method named scrabbleTileValue which returns an int * It should take a char as a parameter, which will be lowercase *

* Write a static method named scrabbleTileValue which returns an int
* It should take a char as a parameter, which will be lowercase
* It should return the value of that letter if it was a scrabble tile, as follows:
*1: a,e,i,l,n,o,r,s,t,u
*2: d,g
*3: b,c,m,p
*4: f,h,v,w,y
*5: k
*8: j,x
*10: q,z

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!