Advertisement
Guest User

Untitled

a guest
Oct 1st, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. public static void main(String[] args) {
  2. Scanner letter= new Scanner(System.in);
  3. System.out.print("Type a character:");
  4. char let= letter.nextLine().charAt(0);
  5.  
  6. char[] word = {'s', 'w', 'a', 'g' };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement