generated from admin/template
Добавление файла Лаб2
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
static void Main() {
|
||||||
|
Console.Write("Введите имя тренера ");
|
||||||
|
string trainerName = Console.ReadLine();
|
||||||
|
Console.Write("Введите имя покемона ");
|
||||||
|
string pokemonName = Console.ReadLine();
|
||||||
|
Console.Write("Введите стихию ");
|
||||||
|
string elementType = Console.ReadLine();
|
||||||
|
Console.Write("Введите регион ");
|
||||||
|
string region = Console.ReadLine();
|
||||||
|
Console.WriteLine($"ПАСПОРТ ПОКЕМОНА\nТренер: {trainerName}(Регион: {region})\nПокемон: {pokemonName} [Стихия: {elementType}]");
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user