Question: This first picture is what comes out with my code and the second is what is supposed to come out. I need to use a
otal SC0T bash-4.2$ ./a.out scrabble. cpp Enter text: hi my name is hunter. Total score: -1923036044bash-4.29$ bash-4.2$ ./scrabble solution.exe Enter text: hi my name is hunter. Number of a's (worth 1 point each) 1 Number of g's (worth 2 points each) 0 Number of m's (worth 3 points each) 2 Number of f's (worth 4 points each) : 0 Number of k's (worth 5 points each) :0 Number of j's (worth 8 points each): o Total score: 7bash-4.2 ApplicationsPlaces System scrabble.cpp - emacs@cse-epsilon.coeit.osu.edu - File Edit Options Buffers Tools C++ Help int main() char text; int a, g, m,f, k, j int score; cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
