Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) {
- Scanner letter= new Scanner(System.in);
- System.out.print("Type a character:");
- char let = letter.nextLine().charAt(0);
- char[] word = {'s', 'w', 'a', 'g' };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement