This project aims to make you code a simple equation solving program.
ComputorV1 solves equations up to the second degree.
Grade:
SEE SUBJECT FOR MORE DETAILS
This project is written with go, so you need that installed
After cloning, make
compiles the executable computorV1
make test
runs the tests
make fclean
removes the executable
make re
removes the executable and recompiles
./computor -h
displays the help message
The program splits the input string into "cells" which are monomials.
It then combines all cells with the same exponent so that there is only one cell for each exponent.
After this, depending on the highest exponent, it solves the equation either with the linear or the quadratic formula.