Character Identification Program (Java)

I coded the following program in Java. The program will identify characters.

Please page down to see the coding, and please click here to see the execution of this program.

package javaapplication7;

//import java.lang.*;
import java.util.Scanner;

public class JavaApplication7
{
    public static void main(String[] args)
    {
        int jchar = 0;
        Scanner input = new Scanner(System.in);

        //int to char

        System.out.print("Enter int: ");
        int i = input.nextInt();
        System.out.println("char value: " + (char)i);
        System.out.println();
        //char to int
        
        System.out.print("Enter chars: ");
        String s = input.next();
        System.out.print("int value: ");
        
        while(jchar<s.length())
        {
            System.out.print((int)s.charAt(jchar) + "(" + s.charAt(jchar) + ")");
            jchar++;
        }
        
        System.out.println();
    } // method main

} // end class

Example execution of the program: