Category: Strings Basic
- Write a program to enter a string and display the number of words and blank spaces in it.
- Write a program to enter a string and print the number of vowels in it.
- Write a program to print the number of consonants in a string.
- Write a program to print the number of uppercase and lowercase letters in a string separately.
- Write a program to print the no of times letter 'K' appears in a string.
- Write a program to print the digits present in a string, if any.
- Write a program to reverse a string and print.
- Write a program to print the words of a string that starts with an uppercase letter.
- Write a program to print each word of a string on a new line.
- Write a program to find the number of sentences in a paragraph entered by the user. A sentence is terminated by either by ' . ' , ' ? ' or ' ! '.