Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2011
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. import java.util.Scanner;
  2. public class first {
  3. public static void main(String[] args) {
  4. Scanner cin = new Scanner(System.in);
  5. String s;
  6. while(cin.hasNext()) {
  7. s = cin.nextLine();
  8. System.out.println("hello, " + s);
  9. }
  10. }
  11. }
  12.  
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement