Created
February 7, 2025 06:45
-
-
Save anikishkaf/d7e6064c8868fac3fb926796a40201ac to your computer and use it in GitHub Desktop.
0.2.
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
namespace mainShkaf | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.Write("Как Вас зовут? "); | |
string? name = Console.ReadLine(); | |
Console.Write("Теперь введите возраст: "); | |
int age = Convert.ToInt32(Console.ReadLine()); | |
Console.Write("Где Вы работаете? "); | |
string? jobPlace = Console.ReadLine(); | |
Console.Write("Номер Вашей карточки: "); | |
string? cardName = Console.ReadLine(); | |
Console.WriteLine($"Вас зовут {name}, Вам {age} лет, работаете {jobPlace}. Номер Вашей карточки (она давно взломана): {cardName}"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment