This repository contains both a calculator and a word counter built in C.
The calculator takes the inputs: double a, operator ('+', '-', '*' (or 'x'), or '/'), and double b, then performs the operation and outputs the answer.
You can either run the calculator and input numbers and operators when prompted, or input them as arguments like this:
calculator 21 x 4
The word counter counts the total number of lines and total number of words for a file. The file will automatically be defaultTest.txt, but a different file can be given through arguments like this:
word_counter file.txt