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:
![](https://hi-static.z-dn.net/files/d0b/3db005ec3e2deb4852cb1368d38f3cd5.jpg)
Similar questions
Physics,
1 month ago
Computer Science,
1 month ago
Hindi,
11 months ago
Business Studies,
11 months ago
Hindi,
11 months ago