Computer Science, asked by 8dworld, 5 months ago

WAP
to
store 10 names into sda and display them​

Answers

Answered by Anonymous
1

Answer:

Create an array a [ ] of size 10

Use for loop from 0 to

String wrd;

Extract a word from array

for (i=0;i<=9;i++)

{

wrd=a[i]

int l=wrd. length ()

char c1=wrd. charAt(0);

char c2=wrd. charAt(l-1);

then check if c1 c2 both are vowels print the word

Explanation:

Similar questions