Обновить works/lab-01/Readme.md

This commit is contained in:
2026-09-05 20:02:08 +00:00
parent 67616a9b05
commit 567ca1f8a0
+9 -2
View File
@@ -1,3 +1,9 @@
## Тема: Введение в язык C#. Переменные, базовые типы данных и консольный ввод/вывод информации
```csharp
//exercise 1
string pokemoneName = "Чармандер";
string elementType = "Огонь";
@@ -8,7 +14,7 @@ Console.WriteLine($"=== БАЗА ДАННЫХ ПОКЕМОНОВ ===\nПокем
//exercise 2
//exercise 2
Console.Write("Введите имя тренера: ");
string trainerName = Console.ReadLine();
@@ -26,4 +32,5 @@ Console.Write("Введите имя тренера: ");
Console.WriteLine("ПАСПОРТ ПОКЕМОНА");
Console.WriteLine($"Тренер: {trainerName} (Регион: {regionName})");
Console.WriteLine($"Покемон: {pokemonName} [Стихия: {elementType}]");
Console.WriteLine("****************************************");
Console.WriteLine("****************************************");
```