in Education by
write a java program to accept alphabet and find out vowel or consonant Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Answer: class Char. { public static void main(String[ ] arg) { int i=0; Scanner sc=new Scanner(System. in); System. out. … if(ch==’a’||ch==’e’||ch==’i’||ch==’o’||ch==’u’||ch==’A’||ch==’E’||ch==’I’||ch==’O’||ch==’U’) { System. out. … else if((ch>=’a’&&ch<=’z’)||(ch>=’A’&&ch<=’Z’)) System. … else. System. Explanation: Hope it help you 1 thx plz Mark me as brainlist plz

Related questions

0 votes
    If a letter is chosen at random from the English alphabet, find the probability that the letter is chosen is (i) ... (ii) a consonant Select the correct answer from above options...
asked Nov 22, 2021 in Education by JackTerrance
0 votes
    write a program to accept a word and display the new word after removing all the repeated alphabet Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
0 votes
    write a Java program to accept a full name and display the initials along with the surname. URGENT! give the full program please Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    write a program in java to accept a number and display the new number after removing all the zeros Select the correct answer from above options...
asked Dec 10, 2021 in Education by JackTerrance
0 votes
    to write a program to accept marks of three subjects and find the total mark and average marks in 3 subject Select the correct answer from above options...
asked Dec 27, 2021 in Education by JackTerrance
0 votes
    to write a program to accept marks of three subjects and find the total mark and average marks in 3 subject Select the correct answer from above options...
asked Dec 26, 2021 in Education by JackTerrance
0 votes
    Write a program to accept string from user and search a given character from string without using find() function Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    If a letter is chosen at random from the English alphabet, find the probability that the letter chosen is (i) a ... (ii) a cansonant. Select the correct answer from above options...
asked Nov 15, 2021 in Education by JackTerrance
0 votes
    If you put 21 consonants and 5 vowels in a bag. What would carry greater probability? Getting a consonant or ... Find each probability? Select the correct answer from above options...
asked Nov 25, 2021 in Education by JackTerrance
0 votes
    Write a program to accept a filename from the user and display all the lines from the file which contain python comment character ‘#’. Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
0 votes
    Write a C program to accept an integer number between 1 and 9. Write the value of the number in words. Select the correct answer from above options...
asked Dec 14, 2021 in Education by JackTerrance
0 votes
    write a qbasic program to find out the maximum number from two given number Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    Write a JAVA program to find the area and perimeter of a square and rectangle. Store side in s , length as ... USE ANY INPUT METHOD Select the correct answer from above options...
asked Dec 22, 2021 in Education by JackTerrance
0 votes
    Write a JAVA program to find the area and perimeter of a square and rectangle. Store side in s , length ... results in separate lines. Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
0 votes
    Write a program in Java to find the area and perimeter of a right- angled triangle by using function ... inputs. angled triangle Select the correct answer from above options...
asked Dec 7, 2021 in Education by JackTerrance
...