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.

  1. Display the question Hello, what is your name?.
  2. Save the user’s response to a variable.
  3. Output the response Thank you, {name that was saved}.

Get hands-on with 1400+ tech skills courses.