Advertisement
RedFlys

HomeWork CLight About

May 24th, 2020
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.70 KB | None | 0 0
  1. Using System;
  2.  
  3. namespace About
  4. {
  5.     class Program
  6.     {
  7.         static void Main()
  8.         {
  9.             string name;
  10.             string age;
  11.             string zodiacSign;
  12.             string gob;
  13.  
  14.             Console.WriteLine("Как вас зовут?");
  15.             name = Console.ReadLine();
  16.  
  17.             Console.WriteLine("Сколько тебе лет?");
  18.             age = Console.ReadLine();
  19.  
  20.             Console.WriteLine("Какой твой знак зодиака?");
  21.             zodiacSign = Console.ReadLine();
  22.  
  23.             Console.WriteLine("Где ты работаешь?");
  24.             gob = Console.ReadLine();
  25.  
  26.             Console.WriteLine($"Тебя зовут {name}, тебе {age}, твой знак зодиака {zodiacSign} и ты работаешь {job}.");
  27.             Console.ReadKey();
  28.         }
  29.     }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement