Below is my lab assignment. Can anyone help?
Write a program to perform a simple calculation for addition, subtraction, multiplication, and division with the following conditions:
1. The program shall read a command line form a file of commands & print out the output.
2. The input file is the following:
ADD 2,3
SUBTRACT 5,2
MULTIPLY 2,5
DIVIDE 10,2
Thanks