Answer:
Input : str = "geeks for geeks121"
Output : Vowels: 5
Consonant: 8
Digit: 3
Special Character: 2
Input : str = " A1 B@ d adc"
Output : Vowels: 2
Consonant: 4
Digit: 1
Special Character: 6
Copyright © 2024 EHUB.TIPS team's - All rights reserved.
Answers & Comments
Verified answer
Answer:
Input : str = "geeks for geeks121"
Output : Vowels: 5
Consonant: 8
Digit: 3
Special Character: 2
Input : str = " A1 B@ d adc"
Output : Vowels: 2
Consonant: 4
Digit: 1
Special Character: 6