Замените
int check = ccNumber.charAt(15);
на
int check = Character.getNumericValue(ccNumber.charAt(15));
И
System.out.printf("Check number should be: %i",check);
на
System.out.printf("Check number should be: %d\n",check);
И
System.out.printf("Check number should be: %s", check+"\n");
с
System.out.printf("Check number should be: %d\n", check);