Write a complete program that Counts to number of Vowels andConsantants of string using structure (struct). (main shouldcall functions only & use struct) The Program must be able to: (a) Read a string of 75 characters (b) Print the number of Consantants (c) Print the number of Vowels (d) Ignore numbers and special Characters Example: string - "r9te(p)jru,ubca." # of vowel = 4 # of consantants = 7 ignore is 9 ( ) , . (Something like this output) Write a complete program that Counts to number of Vowels andConsantants of string using structure (struct). (main shouldcall functions only & use struct) The Program must be able to: (a) Read a string of 75 characters (b) Print the number of Consantants (c) Print the number of Vowels (d) Ignore numbers and special Characters Example: string - "r9te(p)jru,ubca." # of vowel = 4 # of consantants = 7 ignore is 9 ( ) , . (Something like this output)
Explanation / Answer
#include #include using namespace std; void count() { couts; cout