29 lines
749 B
C#
29 lines
749 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Core;
|
|
|
|
namespace MathApp
|
|
{
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
Operations ops = new Operations();
|
|
Console.WriteLine("[MathLogger] System started!");
|
|
while (true)
|
|
{
|
|
Console.WriteLine("[Input] Enter an equation, using the QuikMath format: ");
|
|
string ipt = Console.ReadLine();
|
|
if (ipt != "")
|
|
{
|
|
float ot;
|
|
ot = ops.EquParserLoop(ipt);
|
|
Console.WriteLine($"[ValueOutBuffer] Result: {ot.ToString()}");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|