This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HomeWork | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
int playerHealth; | |
uint carForce; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HomeWork | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
Console.Write("Введи имя: "); | |
string name = Console.ReadLine(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HomeWork | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
string firstName = "Somov"; | |
string secondName = "Vlad"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HomeWork | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
int userMoney; | |
int userCrystalsCount = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HomeWork | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
int peoplesCount; | |
int waitingTimeForPeople = 10; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HomeWork | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
Console.Write("Введите сообщение: "); | |
string outputMessage = Console.ReadLine(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HomeWork | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
string userMessage = string.Empty; | |
string messageForEnd = "exit"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HomeWork | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
int startValue = 5; | |
int endValue = 96; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HomeWork | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
Random random = new Random(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HomeWork | |
{ | |
class Program | |
{ | |
static void Main() | |
{ | |
const string RubToUsdKey = "1"; | |
const string UsdToRubKey = "2"; |
OlderNewer