Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Character [A] located at position 0 is a vowel
- Character [b] located at position 1 is a consonant
- Character [r] located at position 2 is a consonant
- Character [a] located at position 3 is a vowel
- Character [h] located at position 4 is a consonant
- ...
- 16 [Abraham Lincoln ]
- 14 [braham Lincoln]
- 12 [raham Lincol]
- 10 [aham Linco]
- 8 [ham Linc]
- 6 [am Lin]
- 4 [m Li]
- 2 [ L]
- 0 []
- String enterName;
- Scanner name = new Scanner(System.in);
- System.out.println("Enter your name");
- enterName = name.nextLine();
Add Comment
Please, Sign In to add comment