Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Clight_03
- {
- class Program
- {
- static void Main()
- {
- string name;
- int age;
- string work;
- string zodiacSign;
- Console.Write("Введите Ваше имя: ");
- name = Console.ReadLine();
- Console.Write("Введите Ваш возраст: ");
- age = Convert.ToInt32(Console.ReadLine());
- Console.Write("Введите Ваш знак зодиака: ");
- zodiacSign = Console.ReadLine();
- Console.Write("Введите Ваше место работы: ");
- work = Console.ReadLine();
- Console.WriteLine("\n");
- Console.WriteLine($"Вас зовут {name}, вам {age} лет, по знаку зодиака вы {zodiacSign} и работаете вы в/на {work}е");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement