9)C PROGRAM TO CHECK WHETHER AN ENTERED CHARACTER IS VOWEL OR NOT.
LOGIC:- we know that only a,e,i,o,u are vowel.so if the character is entered by user is equal to vowel than it is vowel else not.Here is also condition but with the assignment operator more than one and one logic OR method.
EXAMPLE:-
TASK:"""INSERT CAPITAL CHARACTER AND RESULT WILL BE SAME"""
LOGIC:- we know that only a,e,i,o,u are vowel.so if the character is entered by user is equal to vowel than it is vowel else not.Here is also condition but with the assignment operator more than one and one logic OR method.
EXAMPLE:-
TASK:"""INSERT CAPITAL CHARACTER AND RESULT WILL BE SAME"""
Comments
Post a Comment