Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  cha
Language: JAVA
Code:
import java.util.*;
public class cha
{
    static Scanner read=new Scanner(System.in);
    public static void main(String[]args)
    {
        String con=read.next();
        char letter=con.charAt(0);
        System.out.println("Enter a letter: ");
        letter=con.charAt(0);
        System.out.println("You Enter "+letter);
    }
}
Comments: