This commit is contained in:
pan.codes 2018-11-04 18:28:30 +01:00
parent a791408c56
commit a541701c4f
61 changed files with 475 additions and 0 deletions

View file

@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace CALCULATOR_POWER
{
class Program
{
static void Main(string[] args)
{
if (args.Length == 2)
{
string sep = Thread.CurrentThread.CurrentCulture.NumberFormat.NumberDecimalSeparator;
Console.WriteLine(Math.Pow(Double.Parse(args[0].Replace(".", sep).Replace(",", sep)), Double.Parse(args[1])));
}
}
}
}