Last active
September 25, 2023 09:47
-
-
Save GigaOrts/c471002554a2382174c62c1cc423a9c7 to your computer and use it in GitHub Desktop.
Домашка 4 Основы программирования
This file contains 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
using System; | |
namespace domashka | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Как вас зовут?"); | |
string name = Console.ReadLine(); | |
Console.WriteLine("Какова ваша профессия?"); | |
string profession = Console.ReadLine(); | |
Console.WriteLine("Сколько вам полных лет?"); | |
string age = Console.ReadLine(); | |
Console.WriteLine($"Вы {name}\nВаша работа: {profession}\nВаш возраст: {age}\nСпасибо за участие!"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment