filmov
tv
Java program to display vowels only in a string after converting it to lower case

Показать описание
#techlearners #java
6 To display vowels only in a string after converting it to
lower case
Input -
str="computer"
Output
o u e
Logic
Input string in str
convert to lower case
find length of string
Loop i = 0 to len-1
if(ch=='a'||ch=='e'||ch=='i'||ch=='o'||ch=='u')
display ch and a space
TECHLEARNERS BY NEERAJ SAXENA
6 To display vowels only in a string after converting it to
lower case
Input -
str="computer"
Output
o u e
Logic
Input string in str
convert to lower case
find length of string
Loop i = 0 to len-1
if(ch=='a'||ch=='e'||ch=='i'||ch=='o'||ch=='u')
display ch and a space
TECHLEARNERS BY NEERAJ SAXENA