1.
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
No. of pair of vowels: 5
2. Write a program to input any string to calculate the total number of characters leaving
blank spaces, total number of vowels(consider both cases) present in the string and also print the
total number of words.
Example:
If sample Input: Human like Apples
Output: Total characters leaving blank spaces :- 15
Total vowels :- 6
Total number of words :- 3
3. Write a program to accept a string in lower case. Convert the first character of each word of
the string to uppercase and display the new string.
i Sample input: india got independence in nineteen forty seven
ii Sample output: India Got Independence In Nineteen Forty Seven