generated from admin/template
upd
This commit is contained in:
+23
-6
@@ -1,15 +1,32 @@
|
|||||||
# Лабораторная работа №1
|
# Лабораторная работа №1
|
||||||
|
|
||||||
* **Студент:** [ФИО]
|
* **Студент:** [Мастио Вячеслав Алексеевич]
|
||||||
* **Вариант / Карточка:** [Например: #025 Pikachu]
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Ключевой код
|
## Ключевой код
|
||||||
```csharp
|
```csharp
|
||||||
// Самая важная часть реализации (методы, структуры, логика)
|
namespace DefaultNamespace;
|
||||||
public class Card
|
|
||||||
|
public class main
|
||||||
{
|
{
|
||||||
public string Name { get; set; }
|
static void Main(string[] args) {
|
||||||
public int Hp { get; set; }
|
Console.Write("Введите имя тренера: ");
|
||||||
|
string trainerName = Console.ReadLine();
|
||||||
|
Console.Write("Введите имя покемона: ");
|
||||||
|
string pokemonName = Console.ReadLine();
|
||||||
|
Console.Write("Введите стихию: ");
|
||||||
|
string elementType = Console.ReadLine();
|
||||||
|
Console.Write("Введите регион: ");
|
||||||
|
string regionName = Console.ReadLine();
|
||||||
|
|
||||||
|
Console.WriteLine();
|
||||||
|
Console.WriteLine("****************************************");
|
||||||
|
Console.WriteLine("ПАСПОРТ ПОКЕМОНА");
|
||||||
|
Console.WriteLine($"Тренер: {trainerName} (Регион: {regionName})");
|
||||||
|
Console.WriteLine($"Покемон: {pokemonName} [Стихия: {elementType}]");
|
||||||
|
Console.WriteLine("****************************************");
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user