generated from admin/template
lab-03
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-01\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{38C86E38-EFCD-4B99-9271-15ED2E2D8CED}|lab-01\\lab-01.csproj|c:\\prog-radzh\\works\\\u0441#-lab\\lab-01\\lab-01\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{38C86E38-EFCD-4B99-9271-15ED2E2D8CED}|lab-01\\lab-01.csproj|solutionrelative:lab-01\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 0,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "Program.cs",
|
||||
"DocumentMoniker": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-01\\lab-01\\Program.cs",
|
||||
"RelativeDocumentMoniker": "lab-01\\Program.cs",
|
||||
"ToolTip": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-01\\lab-01\\Program.cs",
|
||||
"RelativeToolTip": "lab-01\\Program.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAIAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-09-05T18:08:25.89Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-01\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{38C86E38-EFCD-4B99-9271-15ED2E2D8CED}|lab-01\\lab-01.csproj|c:\\prog-radzh\\works\\\u0441#-lab\\lab-01\\lab-01\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{38C86E38-EFCD-4B99-9271-15ED2E2D8CED}|lab-01\\lab-01.csproj|solutionrelative:lab-01\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 0,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "Program.cs",
|
||||
"DocumentMoniker": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-01\\lab-01\\Program.cs",
|
||||
"RelativeDocumentMoniker": "lab-01\\Program.cs",
|
||||
"ToolTip": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-01\\lab-01\\Program.cs",
|
||||
"RelativeToolTip": "lab-01\\Program.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAABYAAAAmAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-09-05T18:08:25.89Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
# Лабораторная работа №1
|
||||
|
||||
* **Студент:** [Раджабов Амирхан Исламович]
|
||||
* **Вариант / Карточка:** [Введение в язык C#. Переменные, базовые типы данных и консольный ввод/вывод информации]
|
||||
|
||||
---
|
||||
|
||||
### task 1
|
||||
```csharp
|
||||
//task 1
|
||||
string pokemonName = "Чармандер";
|
||||
string elementType = "Огонь";
|
||||
int level = 1;
|
||||
int hp = 95;
|
||||
|
||||
Console.WriteLine($"=== БАЗА ДАННЫХ ПОКЕМОНОВ === \nПокемон: {pokemonName}\nСтихия: {elementType}\nУровень: {level} | HP:{hp}");
|
||||
```
|
||||
|
||||
### task 2
|
||||
```csharp
|
||||
//task 2
|
||||
string trainerName = Console.ReadLine();
|
||||
string pokemonName = Console.ReadLine();
|
||||
string elementType = Console.ReadLine();
|
||||
string regionName = Console.ReadLine();
|
||||
|
||||
Console.WriteLine($"Введите имя тренера: {trainerName}");
|
||||
Console.WriteLine($"Введите имя покемона: {pokemonName}");
|
||||
Console.WriteLine($"Введите стихию: {elementType}");
|
||||
Console.WriteLine($"Введите регион: {regionName}");
|
||||
Console.WriteLine("");
|
||||
Console.WriteLine("****************************************");
|
||||
Console.WriteLine("ПАСПОРТ ПОКЕМОНА");
|
||||
Console.WriteLine($"Тренер: {trainerName} (Регион: {regionName})");
|
||||
Console.WriteLine($"Покемон: {pokemonName} [Стихия: {elementType}]");
|
||||
Console.WriteLine("****************************************");
|
||||
```
|
||||
@@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.14.37531.7 d17.14
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "lab-01", "lab-01\lab-01.csproj", "{38C86E38-EFCD-4B99-9271-15ED2E2D8CED}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{38C86E38-EFCD-4B99-9271-15ED2E2D8CED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{38C86E38-EFCD-4B99-9271-15ED2E2D8CED}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{38C86E38-EFCD-4B99-9271-15ED2E2D8CED}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{38C86E38-EFCD-4B99-9271-15ED2E2D8CED}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {73EB97D7-71EE-459D-BED7-CB7CF04DD45E}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -0,0 +1,27 @@
|
||||
//task 1
|
||||
|
||||
//string pokemonName = "Чармандер";
|
||||
//string elementType = "Огонь";
|
||||
//int level = 1;
|
||||
//int hp = 95;
|
||||
|
||||
//Console.WriteLine($"=== БАЗА ДАННЫХ ПОКЕМОНОВ === \nПокемон: {pokemonName}\nСтихия: {elementType}\nУровень: {level} | HP:{hp}");
|
||||
|
||||
//task 2
|
||||
|
||||
string trainerName = Console.ReadLine();
|
||||
string pokemonName = Console.ReadLine();
|
||||
string elementType = Console.ReadLine();
|
||||
string regionName = Console.ReadLine();
|
||||
|
||||
Console.WriteLine($"Введите имя тренера: {trainerName}");
|
||||
Console.WriteLine($"Введите имя покемона: {pokemonName}");
|
||||
Console.WriteLine($"Введите стихию: {elementType}");
|
||||
Console.WriteLine($"Введите регион: {regionName}");
|
||||
Console.WriteLine("");
|
||||
Console.WriteLine("****************************************");
|
||||
Console.WriteLine("ПАСПОРТ ПОКЕМОНА");
|
||||
Console.WriteLine($"Тренер: {trainerName} (Регион: {regionName})");
|
||||
Console.WriteLine($"Покемон: {pokemonName} [Стихия: {elementType}]");
|
||||
Console.WriteLine("****************************************");
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<RootNamespace>lab_01</RootNamespace>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user