Thanks for your help, that error is gone for now. I have two more errors.
this error is coming from this line
private int charToNumber(char letter) //which leads to switch (letter)
And misplaced construct and expected "{", ;
public int toInt()
{
return num;}
I found a website that explains errors, but what it suggested didn't work.
thanks for helping me!
Felissa