This program should be invoked by running:
./calculator <num> <operation> <num>
For example, you can run:
./calculator 4 + 5
Supported operations are addition(+
), subtraction (-
), multiplication (*
) and
division (/
). You can also use the -q
flag to silence the output.