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; | |
| public class Class1 | |
| { | |
| public Class1() | |
| { | |
| int age = 18; | |
| char symbol = 'A'; | |
| char emptySymbol = " "; |
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
| public class Class | |
| { | |
| static void Main() | |
| { | |
| string name; | |
| string nameWork; | |
| int age; | |
| Console.WriteLine("Как вас зовут?"); | |
| 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
| public class Class1 | |
| { | |
| static void Main() | |
| { | |
| int totalImages = 52; | |
| int numberImagesOfRow = 3; | |
| int rowsImages; | |
| int remainsImages; | |
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
| public class Class1 | |
| { | |
| static void Main() | |
| { | |
| int totalImages = 52; | |
| int numberImagesOfRow = 3; | |
| int rowsImages; | |
| int remainsImages; | |
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
| public class Class3 | |
| { | |
| static void Main() | |
| { | |
| int crystalPrice = 4; | |
| Console.Write("Введите кол - во золото в вашем кашельке:" ); | |
| int gold = Convert.ToInt32( Console.ReadLine() ); | |
| Console.WriteLine($"Цена кристалла: {crystalPrice}"); |
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
| public class Class3 | |
| { | |
| static void Main() | |
| { | |
| int crystalPrice = 4; | |
| Console.Write("Введите кол - во золото в вашем кашельке:" ); | |
| int gold = Convert.ToInt32( Console.ReadLine() ); | |
| Console.WriteLine($"Цена кристалла: {crystalPrice}"); |
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
| public class Class | |
| { | |
| static void Main() | |
| { | |
| string name; | |
| int count; | |
| Console.Write("Как вас зовут: "); | |
| 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
| public class Class | |
| { | |
| static void Main() | |
| { | |
| string wordExit = "exit"; | |
| string word = ""; | |
| while (word != wordExit) | |
| { | |
| 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
| public class Class | |
| { | |
| static void Main() | |
| { | |
| int number = 5; | |
| int step = 7; | |
| int maxNumber = 789; | |
| for (int i = number; i <= maxNumber; 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
| public class Class | |
| { | |
| static void Main() | |
| { | |
| Random random = new Random(); | |
| int minValue = -100; | |
| int maxValue = 100; | |
| int multipleX = 3; | |
| int multipleY = 5; | |
| int number = random.Next(minValue, maxValue); |
OlderNewer