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
namespace LearnSharpWithLevelUpOrepators | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const string ExitCommand = "exit"; | |
const string InputCommand = "input"; | |
const string RandomCommand = "random"; | |
const string CleanCommand = "clear"; |
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
namespace LearnSharpWithLevelUpOrepators | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Random random = new Random(); | |
int randomMin = 0; | |
int randomMax = 100; | |
int conditionNumberOne = 3; |
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
namespace LearnSharpWithLevelUpOrepators | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const int Step = 7; | |
const int MaxValue = 103; | |
for (int i = 5; i <= MaxValue; i += Step) |
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
namespace LearnSharpWithLevelUpOrepators | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const int Step = 7; | |
const int Count = 100; | |
int currentNumber = 5; |
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
namespace LearnSharpWithLevelUpOrepators | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const int step = 7; | |
int userInput; | |
int currentNumber = 5; |
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
namespace LearnSharpWithLevelUpOrepators | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const string ExitWord = "Exit"; | |
string userInput; | |
Console.Write($"Введите любое слово. Для выхода из программы введите сдово : {ExitWord} "); |
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
namespace LearnSharpWithLevelUpOrepators | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int count; | |
string userMessage; | |
Console.Write("Введите сообщение : "); |
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
namespace LearnSharpWithLevelUpOrepators | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const string ExitWord = "Exit"; | |
string userInput; | |
Console.Write("Введите любое слово. Для выхода из программы введите сдово : 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
namespace LearnSharpWithLevelUpOrepators | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int count; | |
string userMessage; | |
Console.Write("Введите сообщение : "); |
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
namespace LearnSharpWithLevelUpOrepators | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const int AppointmentTime = 10; | |
const int MinutsInHour = 60; | |
int patientCount; |
NewerOlder