Questions tagged [lab2-scrabble]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
13 views

Getting error expected ')' and I don't know why

if ((word{i} >= 'a' && word{i} <= 'z') || (word{i} >= 'A' && word{i} <= 'Z')) { while (points{j} < word{i}) { j++; } ...
Harr's user avatar
  • 13
0 votes
1 answer
13 views

Does this violate any course policy

In Lab 2, Scrabble. I have created a new array for alphabets from a to z. Through this array, the function identify the score for each letter regardless to ASCII value which has been mentioned in how ...
Ahmed's user avatar
  • 1
0 votes
1 answer
151 views

Lab 2:scrabble compute score function

I'm currently working on scrabble and I'm unsure how to go about making 'word' in line with POINTS[], so they match and have the same values for letters. This is the code I have so far, only recently ...
Robbie's user avatar
  • 5
0 votes
0 answers
18 views

CS50 lab 2 scrabble

I am trying to solve the lab2 of CS50x and I cannot get it to work. Below is my code along with some comments: #include <ctype.h> #include <cs50.h> #include <stdio.h> #include <...
user15986's user avatar
0 votes
1 answer
2k views

CS50 LAB 2- SCRABBLE

Hi, anyone can help me. I can't get the result I need for this code. I need to compare words whether player 1 or 2 wins. I only get result for tie. I dont know which line to fix. I new in learning ...
LeviH's user avatar
  • 1