While you're at it, you need to understand this line:
...
int n = kboard.nextLine();
...
See the
API for Scanner, you're attempting to use the method nextLine() which returns a String but you're really trying to return an int, based on the variable you're trying to set(int n). Do you see a method in the API that will return that int for you?
EDIT:
...
Not sure what's wrong in the fifth line also.
How do we terminate statements.. ? We do this with the
; operator, However in your case you look like you are at the beginning of a block - therefore you need the
{ operator. Not unlike what you corrected in
the switch(n); line.
