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; | |
using System.Threading; | |
using System.Globalization; | |
//Write a program that reads 3 real numbers from the console and prints their sum. | |
class SumOfThreeNumbers | |
{ | |
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
using System; | |
using System.Globalization; | |
using System.Threading; | |
class AgeAfter10Years | |
{ | |
static void Main() | |
{ | |
Thread.CurrentThread.CurrentCulture = new CultureInfo("bg-BG"); | |
CultureInfo currentCulture = Thread.CurrentThread.CurrentCulture; |
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; | |
class NewHouse | |
{ | |
static void Main() | |
{ | |
var n = int.Parse(Console.ReadLine()); | |
var roof = (n / 2) + 1; | |
var star = '*'; |
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; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
class PrintADeckOf52Cards | |
{ | |
static void Main() |