Skip to content

Commit 63e6104

Browse files
authored
Add files via upload
1 parent 5d9a3e5 commit 63e6104

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import java.util.Scanner;
2+
public class Question4{
3+
public static void main(String[] args) {
4+
Scanner sc = new Scanner(System.in);
5+
6+
Scanner s = new Scanner(System.in);
7+
char ch = s.next().charAt(0);
8+
if((ch>=65&&ch<=90)||(ch>=97&&ch<=122))
9+
if(ch=='a'||ch=='e'||ch=='i'||ch=='o'||ch=='u'||ch=='A'||ch=='E'||ch=='I'||ch=='O'||ch=='U')
10+
System.out.print("vowel");
11+
else
12+
System.out.print("Not_vowel");
13+
}
14+
}

0 commit comments

Comments
 (0)