pls I tested this in my ide...and it works well..pls what's my error here
package com.codegym.task.task04.task0427;
/*
Describing numbers
*/
import java.util.Scanner;
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
Scanner word= new Scanner(System.in);
int a = word.nextInt();
if (a < 999 && a > 1){
if (a % 2==0 &&a/10 < 1){
System.out.println("even single-digit number");
}else if (a % 2 == 1 && a/10 < 1){
System.out.println("odd single-digit number");
}else if (a % 2 ==0 && a/10 > 1 && a/10 < 10){
System.out.println("even two-digit number");
}else if (a % 2 != 0 && a/10 > 1 && a/10 < 10){
System.out.println("odd two-digit number");
}else if (a % 2 == 0 && a/100 > 1 && a/100 < 10){
System.out.println("even three-digit number");
}else if ( a % 2 != 0 && a/100 > 1 && a/100 < 10){
System.out.println("odd three-digit number");
}
}
}
}