Create a program that prompts for your name and prints a greeting using your name.
What is your name? Brian
Hello, Brian, nice to meet you!
- Keep the input, string concatenation, and output separate.
- name
- prompt for name
- print a greeting
- greeting
Input:
- name: Brian
Expected result:
- greeting: Hello, Brian, nice to meet you!
SayHello
Prompt for name with "What is your name?"
greeting = "Hello, " + name + ", nice to meet you!"
Display greeting
End