Guest User

Untitled

a guest
Jan 6th, 2014
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.43 KB | None | 0 0
  1. import java.io.*;
  2. import java.util.*;
  3.  
  4. public class Entry {
  5.     public static void main(String[] args) {
  6.         Scanner in = new Scanner(System.in);
  7.         // PrintWriter out = new PrintWriter(System.out);
  8.        
  9.         String s = in.next();
  10.         char c = s.charAt(0);
  11.         if('0' <= c && c <= '9') {
  12.             System.out.println("yes");
  13.         } else {
  14.             System.out.println("no");
  15.         }
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment