daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest Nov 18th, 2017 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import uulib.Console;
  2.  
  3. public class SimpleCalc {
  4.  
  5.     public static int isVowel(char l) {
  6.         if (l == 'A' || l == 'a') {
  7.             System.out.println("True");
  8.         } else if (l == 'E' || l == 'e') {
  9.             System.out.println("True");
  10.         } else if (l == 'I' || l == 'i') {
  11.             System.out.println("True");
  12.         } else if (l == 'O' || l == 'o') {
  13.             System.out.println("True");
  14.         } else if (l == 'U' || l == 'u') {
  15.             System.out.println("True");
  16.         } else {
  17.             System.out.println("False");
  18.         }
  19.         return (l);
  20.     }
RAW Paste Data
Top