Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #44.2K
#include <iostream> using namespace std; int ScrabbleScore(string word) { int x=0; for(int index =0; index < (int)word.length() -1; index ++) { char ltr = toupper(word[index]); if(ltr == 'A' || ltr == 'E' || ltr == 'I' || ltr == 'L' || ltr == 'N' || ltr == 'O' || ltr … |
|
Create a logical function IsConsonant(ch), which returns true if ch is a consonant. The characters considered vowels are: 'a', 'e', 'i', 'o', and 'u'. Your function can assume ch will be either an upper- or lower-case letter. I have no clue what i am supposed to do. Can i get … |