write a Qbasic program to find whether the alphabet ia an vowel or not
Answers
Answered by
1
Answer:
REM to check the entered character is vowel or consonant
CLS
INPUT "Enter a character:", w$
IF LCASE$(w$)="a" OR LCASE$(w$)="e" OR LCASE$(w$)="i" OR LCASE$(w$)="o" OR LCASE$(w$)="u" THEN
PRINT "The character is Vowel"
ELSE
PRINT "The character is consonant"
END IF
END
Similar questions
Social Sciences,
14 hours ago
Hindi,
14 hours ago
Math,
14 hours ago
Political Science,
1 day ago
English,
1 day ago
Hindi,
8 months ago
Science,
8 months ago