Question: Points - Letters A, E, I, I, N, O, R, S, I, U D, G B, C, M, P F, H, V, W, Y O,

 Points - Letters A, E, I, I, N, O, R, S,

Points - Letters A, E, I, I, N, O, R, S, I, U D, G B, C, M, P F, H, V, W, Y O, Z Create a function int scrabbleScore (String word) that returns the Scrabble score for the given word. Write a program that uses this function to report the Scrabble score for individual words. Two sample runs are shown below. This program tests the ScrabbleScore function. Enter words, ending with "@". Word: HARRY The basic score for 'HARRY' is 11 Word: SUE The basic score for 'SUE' is 3 Word: @ This program tests the ScrabbleScore function. Enter words, ending with "@". Word: Ellen The basic score for 'Ellen' is 5 Word: rob The basic score for 'rob' is 5 Word: @ Hints program ends when the user enters @ it is case-insensitive (i.e. upper case and lower case are the same) str.toUpperCase() converts a string str to upper case. Link to the java documentation site A starter code: import java.util.Scanner; public cla33 Scrabble { public static int scrabbleScore (String word) { // YOUR CODE HERE public static void main(String[] args) { // YOUR CODE HERE

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!