Solution: Display User Input
Let's discuss the solution to the exercise.
We'll cover the following
Problem
This exercise asks a user for information and repeats it back. Create a console application that meets the three requirements listed below.
- Display the question
Hello, what is your name?
. - Save the user’s response to a variable.
- Output the response
Thank you, {name that was saved}
.
Get hands-on with 1400+ tech skills courses.