SHARE
TWEET

greeting by name




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- import java.util.Scanner;
- public class test {
- public static void main(String[] args) {
- Scanner console = new Scanner(System.in);
- String name = console.nextLine();
- System.out.printf("Hello, %s!",name);
- }
- }
RAW Paste Data