Questions tagged [lab2-scrabble]
The lab2-scrabble tag has no usage guidance.
5
questions
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++;
}
...
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 ...
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 ...
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 <...
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 ...