Тема: Введение в язык C#. Переменные, базовые типы данных и консольный ввод/вывод информации

This commit is contained in:
2026-09-05 19:59:45 +00:00
parent f419b47d77
commit 67616a9b05
+2 -2
View File
@@ -1,4 +1,4 @@
//lab #1 //exercise 1
string pokemoneName = "Чармандер"; string pokemoneName = "Чармандер";
string elementType = "Огонь"; string elementType = "Огонь";
int level = 1; int level = 1;
@@ -8,7 +8,7 @@ Console.WriteLine($"=== БАЗА ДАННЫХ ПОКЕМОНОВ ===\nПокем
//ex 2 //exercise 2
Console.Write("Введите имя тренера: "); Console.Write("Введите имя тренера: ");
string trainerName = Console.ReadLine(); string trainerName = Console.ReadLine();