generated from admin/template
add lab2
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
int damage = int.Parse(Console.ReadLine());
|
||||||
|
int lvl = int.Parse(Console.ReadLine());
|
||||||
|
|
||||||
|
int totalDamage = damage + (lvl * 5);
|
||||||
|
|
||||||
|
Console.WriteLine($"=== Прокачка покемона === \n ---- {totalDamage} ----");
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{461029EE-A0DE-41B2-A4B9-6F336449D66F}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{461029EE-A0DE-41B2-A4B9-6F336449D66F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{461029EE-A0DE-41B2-A4B9-6F336449D66F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{461029EE-A0DE-41B2-A4B9-6F336449D66F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{461029EE-A0DE-41B2-A4B9-6F336449D66F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
Reference in New Issue
Block a user