Question: C program --> Write a program that takes a sequence of characters as input and performs the following tasks. 1. Keep taking characters input until

C program C program --> Write a program that takes a sequence of characters

--> Write a program that takes a sequence of characters as input and performs the following tasks. 1. Keep taking characters input until the user enters a full stop"" to terminate it. 2. Counts and print the number of small letters, capital letters, vowels and spaces in a sentence. 2. Print the total length of the sentence. 3. If the user enters any characters other than space or alphabets, it should not be displayed on the screen. Sample Input Sample Output Small Letters: 3 Capital Letters: 1 A cat. Vowels: 2 Spaces: 1 Total Length: 5 Small Letters: 14 Capital Letters: 2 Day of the Month. Vowels: 4 Spaces: 3 Total Length: 16 --> -->

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!