Can Someone help me to Create a program that receives a character and returns true if a character is a VOWEL and false otherwise.
RALTzzz 0 Newbie Poster
Recommended Answers
Jump to PostThis may get you started ...
// function to return true if char c // passed in is a vowel ... // otherwise to return false bool isVowel( char c ) { c = toupper(c); if( c == A' || c == 'E' || c == 'I' …
Jump to Postswitch statement would be better for it. And consider both uppercase and lowercase letters.
All 5 Replies
Avishek_1 -3 Newbie Poster
David W 131 Practically a Posting Shark
saqib_604 0 Newbie Poster
BogdanCov 0 Junior Poster in Training
Avishek_1 -3 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.