You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ask rahul to give two of his friends name.and help rahul to count the number of vowels present in these two names. if no vowels present thent print "0".
3
+
Example
4
+
5
+
Input
6
+
7
+
ramesh
8
+
tushar
9
+
10
+
Output
11
+
12
+
4
13
+
14
+
Input Format
15
+
16
+
first line accept first Name
17
+
second line accept 2nd Name
18
+
19
+
Constraints
20
+
21
+
name must contain alhabates only.
22
+
23
+
Output Format
24
+
25
+
First line must be no of Vowels presnt in both the names.
26
+
27
+
Sample Input 0
28
+
29
+
ramesh
30
+
suresh
31
+
Sample Output 0
32
+
33
+
4
34
+
*/
35
+
importjava.io.*;
36
+
importjava.util.*;
37
+
38
+
publicclassSolution {
39
+
40
+
publicstaticvoidmain(String[] args) {
41
+
/* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */
0 commit comments