This file contains 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
int scoreCounter = 0; | |
string message = "Добрый День! Добро пожаловать к нам!"; | |
char firstChar = 'A'; | |
float fallingAcceleration = 9.8f; | |
double waterAcidity = 7.0; | |
bool isOpen = false; | |
sbyte maxNumber = sbyte.MaxValue; | |
string userInput = Convert.ToString(Console.Read()); | |
int moneyAfterDeath = 0; | |
string invalidInputMessage = "Попробуйте снова"; |
This file contains 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 IJunior | |
{ | |
public class Program | |
{ | |
private static void Main(string[] args) | |
{ |
This file contains 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 IJunior | |
{ | |
public class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
int numberOfPictures = 52; | |
int picturesInRow = 3; |
This file contains 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
string salaryOfPupa = "Зарплату Лупы"; | |
string salaryOfLupa = "Зарплату Пупы"; | |
Console.WriteLine($"Пупа получил {salaryOfPupa}, а Лупа получил {salaryOfLupa}."); | |
string wrongSalaryOfPupa = salaryOfPupa; | |
salaryOfPupa = salaryOfLupa; | |
salaryOfLupa = wrongSalaryOfPupa; | |
Console.WriteLine($"Теперь Пупа получил {salaryOfPupa}, а Лупа получил {salaryOfLupa}."); |
This file contains 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 IJunior | |
{ | |
public class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
int numberOfCrystal = 0; | |
int pricePerCrystal = 20; |
This file contains 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 IJunior | |
{ | |
public class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
int minutesPerPatient = 10; | |
int minutesPerHour = 60; |
This file contains 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 IJunior | |
{ | |
public class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
Console.WriteLine("Введи послание"); | |
string massage = Console.ReadLine(); |
This file contains 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 IJunior | |
{ | |
public class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
string exitCommand = "Exit"; | |
bool isWork = true; |
This file contains 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 IJunior | |
{ | |
public class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
int startNumber = 5; | |
int step = 7; | |
int endNumber = 103; |
This file contains 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 IJunior | |
{ | |
public class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
int summ = 0; | |
int multipleСoefficient1 = 3; |
OlderNewer