generated from admin/template
1 лаба
This commit is contained in:
@@ -0,0 +1,41 @@
|
|||||||
|
/*using System;
|
||||||
|
|
||||||
|
class Program {
|
||||||
|
static void Main() {
|
||||||
|
Console.WriteLine($"BD POKEMONOV");
|
||||||
|
string pokemonName = "picachy";
|
||||||
|
string elementType = "fire";
|
||||||
|
int level = 1;
|
||||||
|
int hp = 95;
|
||||||
|
|
||||||
|
Console.WriteLine($"pokemon: {pokemonName}");
|
||||||
|
Console.WriteLine($" stixia: {elementType}");
|
||||||
|
Console.WriteLine($" lvl: {level}, hp: {hp}");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
using System;
|
||||||
|
|
||||||
|
class Program {
|
||||||
|
static void Main() {
|
||||||
|
Console.WriteLine("NAME COUCH");
|
||||||
|
string trainerName = Console.ReadLine();
|
||||||
|
|
||||||
|
Console.WriteLine("name pokemon");
|
||||||
|
string pokemonName = Console.ReadLine();
|
||||||
|
|
||||||
|
Console.WriteLine("stixia");
|
||||||
|
string elementType = Console.ReadLine();
|
||||||
|
|
||||||
|
Console.WriteLine("region");
|
||||||
|
string regionName = Console.ReadLine();
|
||||||
|
|
||||||
|
Console.WriteLine($"couch: {trainerName}, pokemon: {pokemonName}, stixia: {elementType}, region: {regionName} ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user