Last active
August 24, 2025 19:10
-
-
Save Attosius/7eff4ec9d3953d4ad20f57719710c3b1 to your computer and use it in GitHub Desktop.
ДЗ: Работа со строками
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace IJuniorTasks | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Добрый день, как вас зовут?"); | |
string name = Console.ReadLine(); | |
Console.WriteLine("Сколько вам лет?"); | |
string age = Console.ReadLine(); | |
Console.WriteLine("Какой вы знак зодиака?"); | |
var zodiac = Console.ReadLine(); | |
Console.WriteLine("Где вы работаете?"); | |
var work = Console.ReadLine(); | |
Console.WriteLine($"Вас зовут {name}, вам {age}, вы {zodiac} и работаете {work}."); | |
Console.ReadLine(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment