generated from admin/template
Создал файл Program.cs c кодом первого задания
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
class Program {
|
||||
static void Main() {
|
||||
Console.OutputEncoding = System.Text.Encoding.UTF8;
|
||||
Console.InputEncoding = System.Text.Encoding.UTF8;
|
||||
string pokemonName = "Чармандер";
|
||||
string elementType = "Огонь";
|
||||
int level = 1;
|
||||
int hp = 95;
|
||||
Console.WriteLine($"=== БАЗА ДАННЫХ ПОКЕМОНОВ ===");
|
||||
Console.WriteLine($"Покемон: {pokemonName}");
|
||||
Console.WriteLine($"Стихия: {elementType}");
|
||||
Console.WriteLine($"Уровень: {level} | HP: {hp}");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user