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; | |
| using System.Globalization; | |
| namespace project | |
| { | |
| enum VARIANTS | |
| { | |
| Rock, | |
| Paper, | |
| Scissors |
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; | |
| using System.Globalization; | |
| namespace project { | |
| class Program { | |
| public static void Main() { |
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; | |
| using System.Globalization; | |
| namespace project { | |
| class Program { | |
| public static void Main() { | |
| int[,] x = |
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; | |
| using System.Globalization; | |
| namespace project { | |
| class Program { | |
| public static void Main() { | |
| int num = 1000; |
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; | |
| using System.Collections.Generic; | |
| namespace Learning { | |
| class Program { | |
| static void Main() { | |
| double = a, b; | |
| string action; |
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; | |
| using System.Collections.Generic; | |
| namespace Learning { | |
| class Program { | |
| static void Main() { | |
| // Я долго сидела над этой задачей, потом уже посмотрела в интернете | |
| // Точнее все до цикла я написала и поняла сама, а вот как сделать повтор по запросу | |
| // пользователя типа шо? Сейчас я поняла, почему так, но самой додуматься не удалось))) |
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; | |
| using System.Collections.Generic; | |
| namespace Learning { | |
| class Program { | |
| static void Main() { | |
| for(int i = 5; i <= 103; i += 7) { | |
| System.Console.WriteLine("Figure: {0}", i); | |
| } |
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; | |
| using System.Collections.Generic; | |
| namespace Learning { | |
| class Program { | |
| static void Main() { | |
| /* Использовала цикл while потому что можно обойтись одним условием (еще в уроке у нас был похожий пример) | |
| Вопрос, есть ли еще варианты применения, если не через true-false? Я пробовала и запуталась...*/ |