This is a basic calculator that when compled, allows user to perform basic mathematical expression such as Addition, Subtraction, multiplication and division.The program can be executed on the Shell Terminal.
- Addition '+' eg. 5 + 6 = 11.
- Subtruction '-' eg 6 - 1 = 5.
- Division '/' eg 12 / 2 = 6.
- Multiplication '*' eg 4 * 5 = 20.
Exiting the calculator :-Press 'q' to exit calculator.
clear screen :-Press 'c' to clear the screen
- clone the repository
- Go in to the repository ie. cd
- Navigate further in to the collins_apollo directory. You can run the command below to compile and execute
gcc main.c main.h calculator.c errorhandler.c errorhandler.h -o calc && ./calc
You can reach me on my email at [bristarcollins@gmail.com]