Single Choice
Moderate
Qif(c=='a'||c=='e'...) checks:
ID: #25963
MCQ Quiz - Class 8 - Decision Control Structure
3 views
Question Info
#25963Q ID
ModerateDifficulty
MCQ Quiz - Class 8 - Decision Control StructureTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
Correct Answer Explanation:
Chaining c equal to a, e, i, o, u with OR checks if character is a vowel.
Why the other options are incorrect:
- Option B: Consonants would be checked by NOT vowel.
- Option C: Digits are 0-9, different check.
- Option D: Special chars are !, @, # etc.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic