Help me with the code

read the text file and display the number of vowels, consonants, uppercase and lower case characters in the file .

try to take input