mirror of
https://github.com/0xJ1M/MathsEngine.git
synced 2026-06-05 00:10:08 +00:00
23 lines
558 B
C#
23 lines
558 B
C#
using MathEngine.types;
|
|
using MathEngine.Expression;
|
|
|
|
namespace MathRunner
|
|
{
|
|
internal class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
BigInteger x = new(123456);
|
|
for (int i = 0; i < 4; i++)
|
|
{
|
|
x = x * x;
|
|
}
|
|
Console.WriteLine(x.ToString());
|
|
Console.WriteLine("Evaluting expression...");
|
|
Expression exp = new("54+2+1");
|
|
Console.WriteLine(exp.Evaluate());
|
|
Console.WriteLine("Hello, World!");
|
|
}
|
|
}
|
|
}
|