Answer:
Declare and initialize two integer counter variable as int vowels=0 and consonants=0;
The user asked to enter a string to count vowels and consonants.
call the str.lower() string function to change upper case lettersto lower case letters
Explanation:
Copyright © 2024 EHUB.TIPS team's - All rights reserved.
Answers & Comments
Answer:
Declare and initialize two integer counter variable as int vowels=0 and consonants=0;
The user asked to enter a string to count vowels and consonants.
call the str.lower() string function to change upper case lettersto lower case letters
Explanation:
Declare and initialize two integer counter variable as int vowels=0 and consonants=0;
The user asked to enter a string to count vowels and consonants.
call the str.lower() string function to change upper case lettersto lower case letters