Question: In C Exercise 8.5 In Scrabble each player has a set of tiles with letters on them, and the object of the game is to
In C Exercise 8.5 In Scrabble each player has a set of tiles with letters on them, and the object of the game is to use those letters to spell words. The scoring system is complicated, but as a rough guide longer words are often worth more than shorter words.
Imagine you are given your set of tiles as a String, like "qijibo" and you are given anotherString to test, like "jib". Write afunctioncalled TestWord() thattakesthese twoStringsandreturnstrueifthesetoftilescanbeusedtospelltheword. Youmight have more than one tile with the same letter, but you can only use each tile once.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
