A C console application that tries to replicate a GUI calculate