Write a program to display number divisible by 4 between 20 and 30 . Display a message
to reenter a number if the number is not between 20 and 30.
Answers
Answered by
1
public class VowelConsonant {
public static void main(String[] args) {
char ch = 'i';
if(ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u' )
System.out.println(ch + " is vowel");
else
System.out.println(ch + " is consonant");
}
}
___________________________
* For C programming :—
★Look at the attachment !!
★Was not able to write for C programming cause brainly did not support some of the characters !
Hope you understand :)
Attachments:
Similar questions
Math,
1 month ago
Math,
1 month ago
Hindi,
9 months ago
Business Studies,
9 months ago
Hindi,
9 months ago