Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.47 KB | None | 0 0
  1. import java.io.BufferedReader;
  2. import java.io.IOException;
  3. import java.io.InputStreamReader;
  4.  
  5.  
  6. public class CitireLinieTastatura {
  7.  
  8.     static String x;
  9.     public static void main(String[] args) throws IOException {
  10.         System.out.println("introduceti cuvinte ");
  11.          
  12.                 BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  13.                
  14.                   x=br.readLine();
  15.                    
  16.                
  17.        
  18.          System.out.println("cuvintele sunt "+x);
  19.          
  20.         }
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement