Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Conditional Statements

Objective

In this project, our main goal is to understand the conditional statements in Java.

Problem

Develop a program that checks if a character is a vowel or a consonant.

Implementation

  • Create a char variable value and assign it the value a.
  • Use conditional statements to :
    • Check if the value is a character, not a number or symbol.
    • Check if a Character is a Vowel or a consonant.
  • Print a message for each case (Not an alphabet character, is a vowel, is a consonant ).
public class Main {
    public static void main(String[] args) {
      /* add your code here */
    }

}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages