1. ## scrabble counting

Hello

I have a question, i have to make a c source file of the game scrabble and then the counting, so you enter a word and the computer count the points.

But i don't know how to do this.

Points Letter
1 A, D, E, I, N, O, R, S, T
2 G, H, L
3 B, C, M, P
4 J, K, U, V,W
5 F
6 Z
8 X, Y
10 Q

could someone help me out? thank's

2. Make an array that stores each letter of the alphabet, and has a value for each one. Loop through the letters in the word, look them up in your tablet, and sum it all up.

Quzah.

3. Originally Posted by kees
Points Letter
1 A, D, E, I, N, O, R, S, T
2 G, H, L
3 B, C, M, P
4 J, K, U, V,W
5 F
6 Z
8 X, Y
10 Q
Out of curiousity, what language is the above?
Scrabble letter distributions - Wikipedia, the free encyclopedia

4. ## scrabble counting

I am very new in C, i tried all kinds of things but can't get it working.
i tried the if-else statement but that doesn't work.
How can i make an aray of letters ?

could someone help me out. thank's

Dave_Sinkula it's a dutch language

5. Code:
`int letters[26] = { 1, 2, 4, 5, ... };`
Something like that.

Quzah.

6. ## scrabble counting

something like this:

#include <stdio.h>

main()
{
int letters [26] {a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y ,z);

printf (" give a word:");
scanf ("%s", & word);

but how can you make him count all letters?

i just can't get it working

7. Do you know how to use loops? If not, you should find a book or tutorial on them. Then find one on arrays.

Quzah.