Problem: Greeting by Name

Write a program that reads a person's name and prints Hello, <name>!, where <name> is the name entered earlier.

Hints and Guidelines

First, we create a new C# console project with name “Greeting” in the solution “Simple-Calculations”:

Next, we have to write the code of the program. If you have any difficulties, you can use the code from the example below:

Run the program with [Ctrl+F5] and test if it works:

Testing in the Judge System

Test your solution here:

results matching ""

    No results matching ""