Computer Science, asked by uzair2828, 3 months ago

write a program to input a string and convert it into uppercase and print the pair of vowels and number of pair of vowels occurring in the string. example: input: "BEAUTIFUL BEAUTIES" output: pair of vowels EA,AU,EA,AU,IE number of pair of vowels: 5​

Answers

Answered by swastikmajumder
0

for index goes to zero to string length-1

if the current index has a vowel and the next one also

then print it

increment a variable

print that variable also

Similar questions
Math, 3 months ago