Hello, I have this code:

import java.util.Scanner;

public class Question1 {

// public static char isConsecutive() {


//}