generated from admin/template
33 lines
1.0 KiB
C#
33 lines
1.0 KiB
C#
using System;
|
|
|
|
class Program {
|
|
static void Main()
|
|
{
|
|
//ЗАДАНИЕ 1
|
|
//string pokemonName ="Charmander";
|
|
//string elementType ="Fire";
|
|
//int level = 1;
|
|
// int hp = 95;
|
|
|
|
//Console.WriteLine("===Pokemon DataBase=== ");
|
|
//Console.WriteLine( $" Pokemon:{pokemonName}");
|
|
//Console.WriteLine( $" Element:{elementType}");
|
|
//Console.WriteLine( $" level:{level} | HP: {hp}");
|
|
//Console.ReadLine();
|
|
|
|
//ЗАДАНИЕ 2
|
|
|
|
Console.Write ("Enter the trainers name: \n ");
|
|
string trainerName = Console.ReadLine();
|
|
Console.Write ("Enter the Pokemons name: \n ");
|
|
string pokemonName = Console.ReadLine();
|
|
Console.Write ("Enter the region: \n ");
|
|
string region = Console.ReadLine();
|
|
Console.Write ("Enter the element: \n");
|
|
string element = Console.ReadLine();
|
|
|
|
Console.Write("Pokemon Pasport \nTrainer:{trainerName}(Region{region}| Pokemon{pokemonName} [Element{element}])");
|
|
|
|
}
|
|
}
|