PS_ch1_Q3

 package com.company.Ch1_07_PracticeSet;


import java.util.Scanner;

public class PS_ch1_Q3 {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println("Please enter your name");
String name = scan.nextLine();
System.out.print("Hello " + name + ", have a good day.");
}
}

Comments

Popular posts from this blog