Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Globalization;
namespace project
{
enum VARIANTS
{
Rock,
Paper,
Scissors
using System;
using System.Globalization;
namespace project {
class Program {
public static void Main() {
using System;
using System.Globalization;
namespace project {
class Program {
public static void Main() {
int[,] x =
using System;
using System.Globalization;
namespace project {
class Program {
public static void Main() {
int num = 1000;
@qb-alexandra
qb-alexandra / gist:f025fbd64c9992c7356411862a079d82
Created March 12, 2025 14:03
Дурацкий калькулятор
using System;
using System.Collections.Generic;
namespace Learning {
class Program {
static void Main() {
double = a, b;
string action;
using System;
using System.Collections.Generic;
namespace Learning {
class Program {
static void Main() {
// Я долго сидела над этой задачей, потом уже посмотрела в интернете
// Точнее все до цикла я написала и поняла сама, а вот как сделать повтор по запросу
// пользователя типа шо? Сейчас я поняла, почему так, но самой додуматься не удалось)))
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);
}
using System;
using System.Collections.Generic;
namespace Learning {
class Program {
static void Main() {
/* Использовала цикл while потому что можно обойтись одним условием (еще в уроке у нас был похожий пример)
Вопрос, есть ли еще варианты применения, если не через true-false? Я пробовала и запуталась...*/