Computer Science, asked by Anonymous, 8 months ago

What will be the output of the following code:
if(st==’E’ || st==’A’ || st==’I’ || st==’O’ || st==’U’)
System.out.println(“An uppercase vowel”);
else if(st==’e’ || st==’a’ || st==’i’ || st==’o’ || st==’u’)
System.out.println(“An lowercase vowel”);
else if(st>=’a’ && st<=’z’)
System.out.println(“A lowercase consonant”);
else
System.out.println(“An lowercase consonant”);
What will be the output of the above code, if value of st is character literal as:

i. ‘E’ ii. ‘x’ iii. ‘i’ iv. ‘M’

Answers

Answered by yeahintelligent
1

Answer:

you may use python 3.2 or 3.3 for the answer

Similar questions