Here I am trying to input a string and compare the string letters to consonant string letters. When the input letter and consonant matches then output should print next letter of consonant.

```
Example:: input = java
         output = kawa  

```

here j and v are consonant so next letter after j is k, likewise after v we have w.

```
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Enter any string = ");
String inputString = bf.readLine().toLowerCase();

for(int i=0; i < inputString.length(); i++){
    inputChar = inputString.charAt(i);

    String consonants = "BCDFGHJKLMNPQRSTVWXYZ".toLowerCase();
    for(int j = 0; j < consonants.length(); j++){
        stringChar = consonants.charAt(j);

        if(inputChar == stringChar){
        }  

    }
}

```