Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace CSLight_HW_6
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.OutputEncoding = Encoding.UTF8;
- int age;
- string name;
- string zodiacSign;
- string job;
- Console.Write("Как вас зовут: ");
- name = Console.ReadLine();
- Console.Write("Сколько вам лет: ");
- age = Convert.ToInt32(Console.ReadLine());
- Console.Write("Какой ваш знак зодиака: ");
- zodiacSign = Console.ReadLine();
- Console.Write("Где вы работаете: ");
- job = Console.ReadLine();
- Console.Write($"Вас зовут {name}, вам {age}, вы {zodiacSign} и работаете {job}.");
- Console.ReadKey();
- }
- }
- }
Add Comment
Please, Sign In to add comment