We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c661ee8 + 7f303f8 commit 0d86ff3Copy full SHA for 0d86ff3
1 file changed
vowels.class
@@ -0,0 +1,20 @@
1
+#https://in.pinterest.com/pin/747808713120875493/
2
+#Subscribed by codehouseindia
3
+import java.util.Scanner;
4
+public class char_vow {
5
+ public static void main(String[] args) {
6
+ char c;
7
+ System.out.println("Author name=Viresh Solanki");
8
+ System.out.print("character=");
9
+ Scanner s=new Scanner(System.in);
10
+ c=s.next().charAt(0);
11
+ if(c=='a'||c=='e'||c=='i'||c=='o'||c=='u')
12
+ {
13
+ System.out.println("character is vowel="+c);
14
+ }
15
+ else
16
17
+ System.out.println("character is not vowel="+c);
18
19
20
+}
0 commit comments