Question: In java please and thank you!! In the game Scrabble, words are scored by summing the point value for each letter in the word. A

 In java please and thank you!! In the game Scrabble, words

In java please and thank you!!

In the game Scrabble, words are scored by summing the point value for each letter in the word. A letter's point value is inversely proportional to its frequency in English words. Letters are awarded points as follows: I point: A, E, I, L, N, O, R, S, T, U 2 points: D, G 3 points: B, C, M, P 4 points: F, H, V, W, Y 5 points: K 8 points: J, YX 10 points: Q. Z Write a program called WordScore that accepts a word from the user and uses a switch statement to compute its score (not counting any of the bonuses that might normally occur in the game). Do not assume that the user enters words all in one case. Hint: think about converting the word to all lower-or upper-case before processing its score. The program should display the word as originally entered along with the number of points it is worth. Page 1 of2 cosc 117 Lab 8-Spring 2018 Example I: Please enter a word: FARM The word FARM is worth 9 points Example 2: Please enter a word: Farmer The word Farmer is worth 11 points

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!