Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace CSLightFirst
- {
- class Program
- {
- static void Main()
- {
- string name;
- string birthDate;
- string currentCity;
- Console.Write("Ваше имя и фамилия: ");
- name = Console.ReadLine();
- Console.Write("Когда вы родились: ");
- birthDate = Console.ReadLine();
- Console.Write("В каком городе Вы живете: ");
- currentCity = Console.ReadLine();
- Console.WriteLine($"Итак, давайте проверим Ваши данные\n" +
- $"Вас зовут {name}, Вы родились {birthDate} и проживаете в городе {currentCity}");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement