The document outlines 10 string-based programming problems, including writing programs to count vowels in a string, uppercase and lowercase characters, occurrences of a letter, printing each letter with its ASCII code, swapping the case of letters, incrementing each letter by 2 characters, finding the frequency of each character, counting and printing the words in a string separately, arranging the words in alphabetical order, and counting and printing the words in a separate lines.
The document outlines 10 string-based programming problems, including writing programs to count vowels in a string, uppercase and lowercase characters, occurrences of a letter, printing each letter with its ASCII code, swapping the case of letters, incrementing each letter by 2 characters, finding the frequency of each character, counting and printing the words in a string separately, arranging the words in alphabetical order, and counting and printing the words in a separate lines.
The document outlines 10 string-based programming problems, including writing programs to count vowels in a string, uppercase and lowercase characters, occurrences of a letter, printing each letter with its ASCII code, swapping the case of letters, incrementing each letter by 2 characters, finding the frequency of each character, counting and printing the words in a string separately, arranging the words in alphabetical order, and counting and printing the words in a separate lines.
1. Write a program to get input a string ser and print
number of vowels present in string.
2 . Write a program to get input a string from user and print
number of uppercase and lowercase character present in string. 3 . Write a program to get input a string from user and print Count how many times latter appears in a string. 4 . Write a program to get input a string from user and print every letter with its ASCII Code in new line.
5 . Write a program to get input a string from user and
swap case of a string. 6 . Write a program to get input a string from user and Print a new string with each letter incremented by 2characters. Like A will become C. 7. Write a program to get input a string from user and Print the frequency of each character.
8 . Write a program to get input a string from user and
Count no of words in a string and print each word in separate line.
9 . Write a program to get input a string from user and
arrange each word in Alphabetical Order. 10 . Write a program to get input a string from user and Count no of words in a string and print each word in separate line.