002-002-003
String Input: Name Entry
Easy
Problem Description
String Input: Name Entry
In this problem, you will create a program that reads a name from the keyboard using the Scanner class and displays a greeting message "Hello, [name]!" to standard output.
Learning Objective: Learn how to input strings using Scanner class
Overview
Let's learn to input strings from the keyboard. Create a program that takes the user's name and displays a greeting message!
Specifications
- Use Scanner to input name from keyboard
- Display greeting using the entered name
Input Format
Taro
```java
## Output Format
```java
Hello, Taro!
Ready to Try Running Code?
Log in to access the code editor and execute your solutions for this problem.
Don't have an account?
Sign Up