Guest User

Untitled

a guest
Jan 17th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. Character [A] located at position 0 is a vowel
  2. Character [b] located at position 1 is a consonant
  3. Character [r] located at position 2 is a consonant
  4. Character [a] located at position 3 is a vowel
  5. Character [h] located at position 4 is a consonant
  6. ...
  7. 16 [Abraham Lincoln ]
  8. 14 [braham Lincoln]
  9. 12 [raham Lincol]
  10. 10 [aham Linco]
  11. 8 [ham Linc]
  12. 6 [am Lin]
  13. 4 [m Li]
  14. 2 [ L]
  15. 0 []
  16.  
  17. String enterName;
  18. Scanner name = new Scanner(System.in);
  19.  
  20. System.out.println("Enter your name");
  21. enterName = name.nextLine();
Add Comment
Please, Sign In to add comment