You are on page 1of 9

10-:- (STRING BASED PROGRAMS).

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.

You might also like