Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

Vowel or consonant in java using if else

public class Main{public static void main(String[] args) {char ch = 'e';if(ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u' )System.out.println(ch + " is a vowel");elseSystem.out.println(ch + " is a consonant");}}
Comment

PREVIOUS NEXT
Code Example
Java :: Java if Keyword 
Java :: java transaction example 
Java :: what to do in minecraft 
Java :: 1.13. programacion orientada a objetos en java 
Java :: get sum of int array and return string 
Java :: java random value threadlocalrandom 
Java :: save text in edditext java 
Java :: jgit clone in memory 
Java :: bukkit e.getCurrentItem() bytes? 
Java :: LocalRegistry java rebind() java8 
Sql :: sql server reseed single table 
Sql :: uninstall mysql ubuntu 18.04 
Sql :: dbms_scheduler drop_job 
Sql :: create database mysql utf8 
Sql :: forgot mysql root password stackoverflow 
Sql :: oracle sql limit results 
Sql :: SELECT list is not in GROUP BY clause 
Sql :: stpop start psql server 
Sql :: how to restart mysql in linux 
Sql :: start mysql server by terminal in linux 
Sql :: installer postgresql sur ubuntu 
Sql :: postgres regex remove special characters 
Sql :: Failed to stop mysql.service: Unit mysql.service not loaded. 
Sql :: select records for day before yesterday mysql 
Sql :: mysql last 6 months 
Sql :: revokeprivileges mysql 
Sql :: InnoDB: page_cleaner: 1000ms intended loop took 7742ms. The settings might not be optimal 
Sql :: oracle compile whole schema 
Sql :: grant permission in postgres 
Sql :: add constraint fk 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =