Skip to content

Instantly share code, notes, and snippets.

@Venarry
Venarry / HomeWork1
Last active December 23, 2022 17:38
using System;
namespace HomeWork
{
internal class Program
{
static void Main()
{
int playerHealth;
uint carForce;
using System;
namespace HomeWork
{
internal class Program
{
static void Main()
{
Console.Write("Введи имя: ");
string name = Console.ReadLine();
using System;
namespace HomeWork
{
internal class Program
{
static void Main()
{
string firstName = "Somov";
string secondName = "Vlad";
@Venarry
Venarry / HomeWork6
Last active December 24, 2022 13:41
using System;
namespace HomeWork
{
internal class Program
{
static void Main()
{
int userMoney;
int userCrystalsCount = 0;
@Venarry
Venarry / HomeWork7
Last active December 24, 2022 14:08
using System;
namespace HomeWork
{
internal class Program
{
static void Main()
{
int peoplesCount;
int waitingTimeForPeople = 10;
using System;
namespace HomeWork
{
internal class Program
{
static void Main()
{
Console.Write("Введите сообщение: ");
string outputMessage = Console.ReadLine();
@Venarry
Venarry / HomeWork9
Last active December 24, 2022 14:05
using System;
namespace HomeWork
{
internal class Program
{
static void Main()
{
string userMessage = string.Empty;
string messageForEnd = "exit";
using System;
namespace HomeWork
{
internal class Program
{
static void Main()
{
int startValue = 5;
int endValue = 96;
@Venarry
Venarry / HomeWork11
Last active December 24, 2022 22:36
using System;
namespace HomeWork
{
internal class Program
{
static void Main()
{
Random random = new Random();
using System;
namespace HomeWork
{
class Program
{
static void Main()
{
const string RubToUsdKey = "1";
const string UsdToRubKey = "2";