Files
MathsEngine/MathEngine/MathRunner/Program.cs
2026-03-19 19:04:18 +00:00

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!");
}
}
}