Advertisement
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 Lesson1
- {
- class Program
- {
- static void Main(string[] args)
- {
- string name, placeOfWork, zodiacSign;
- int age;
- Console.Write("Ваше имя - ");
- name = Console.ReadLine();
- Console.Write("Ваше место работы - ");
- placeOfWork = Console.ReadLine();
- Console.Write("Знак зодиака?))) - ");
- zodiacSign = Console.ReadLine();
- Console.Write("Ваш возраст - ");
- age = Convert.ToInt32(Console.ReadLine());
- Console.WriteLine($"Итак, вас зовут - {name}, вам - {age} лет. Ваш знак зодиака - {zodiacSign} и вы ваше место работы - {placeOfWork}.");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement