TORONTO KIDS COMPUTER CLUB | PMCA Sunday 10:00 Java Homework 10.20
16629
post-template-default,single,single-post,postid-16629,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.8.0,vc_responsive

PMCA Sunday 10:00 Java Homework 10.20

24 Oct PMCA Sunday 10:00 Java Homework 10.20

Question 1:

Input a string using scanner and count the number of vowels and consonants in the string.
[assume there are no capital letters in the string]


Question 2:

Input a string using scanner and remove all the vowels from the string

Sample Input 1
abcd

Sample Output 1
bcd

Sample Input 2
apple

Sample Output 2
ppl

No Comments

Sorry, the comment form is closed at this time.