answersLogoWhite

0


Best Answer

import java.util.Scanner;

public class main(){

public static void main(String[]args){

Scanner er=new Scanner(System.in);

char letter = " ";

System.out.print("enter a letter");

letter = er.nextChar();

if (letter =='a' letter =='A' letter =='e' letter =='E' letter =='i' letter =='I' letter =='o' letter =='O' letter =='u' letter =='U'){

System.out.print("its a vowel");

}

else {

System.out.print("not a vowel");

}

}

}

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Enter a alphabet and cheak weater it is a vowel or not in java a program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between high cheak bones and low cheak bones?

they are different shapes.


How can you use the letters look say cover write cheak?

how can i use the letters look, say, cover, write, cheak


What does you are not the suitable medium mean?

cheak


What is the number to be on disney channel?

Cheak


How i cheak my nivas praman patra no?

4132021755


How do you find a fosoil?

cheak in th sand


How do you you get a user and password for ticket to read?

cheak your answer


What is the setting for Madea's family reunion?

cheak your answer


How you can create awareness regading such things what role student can plays to cheak such actions?

How you can create awareness regading such things what role student can plays to cheak such actions


What kind of bat is there the most of?

cheak on goggle guys


Is there a short Halloween song?

yes cheak on youtube


Can you tell if you have enough iron by rubbing a nickel on your cheak?

No.