Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class first {
- public static void main(String[] args) {
- Scanner cin = new Scanner(System.in);
- String s;
- while(cin.hasNext()) {
- s = cin.nextLine();
- System.out.println("hello, " + s);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement