Question: Write C program that reads 10 characters, calculates and prints the number of consonants, vowels and special characters. The program should use a function called

 Write C program that reads 10 characters, calculates and prints the

Write C program that reads 10 characters, calculates and prints the number of consonants, vowels and special characters. The program should use a function called ANALYZE_CHAR that takes a character, and returns its types (vowel, consonant or special character). The results (number of each type) should be printed from the main method. Example: The user enters d kauf@ $ S v Printed on screen : The number of Vowels is 2 The number of consonants is 5 The number of special characters is 2

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!