Computer Science, asked by jarinarosiya, 5 hours ago


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 abhi138573
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