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