desislava_topuzakova

03. Поздрав по име

Nov 11th, 2020
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.37 KB | None | 0 0
  1. using System;
  2.  
  3. namespace _03.GreetingByName
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             //1. прочитаме име (текст)
  10.             //2. отпечатваме -> “Hello, <name>!”
  11.             string name = Console.ReadLine();
  12.             Console.WriteLine("Hello, " + name + "!");
  13.         }
  14.     }
  15. }
  16.  
Add Comment
Please, Sign In to add comment