Advertisement
ranee

Untitled

Jun 13th, 2020
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.97 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Dynamic;
  4. using System.Linq;
  5. using System.Runtime.Serialization;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8.  
  9. namespace CSLight
  10. {
  11.     class Program
  12.     {
  13.         static void Main(string[] args)
  14.         {
  15.  
  16.             string name;
  17.             string age;
  18.             string zodiacSign;
  19.             string placeOfWork;
  20.             Console.Write("Как вас зовут:");
  21.             name = Console.ReadLine();
  22.             Console.Write("Сколько вам лет:");
  23.             age = Console.ReadLine();
  24.             Console.Write("Какой у вас знак зодиака:");
  25.             zodiacSign = Console.ReadLine();
  26.             Console.Write("Где вы работаете:");
  27.             placeOfWork = Console.ReadLine();
  28.             Console.WriteLine($"Вас зовут {name}, вам {age} год, вы {zodiacSign} и работаете на {placeOfWork}.");
  29.         }
  30.     }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement