Task2
Now modify the Calculator so it can take a file as input I provide a few sample files to help here , you probably need to do others that you create yourself to be sure all cases are covered.
It should return to the menu if a ; is processed or if it reaches end of file.
tabs, cr, nl and spaces in test file or input from the keyboard are to be ignored be ignored (whitespace)
for example an input file for the pass option might be (from testj.txt supplied)
3+2=
7-2=
for example an input file for the Hd option might be (from task4aa.txt supplied)
3+ 2= m1
6+9=m2
K
R1+R2=
Students succeed in their courses by connecting and communicating with an expert until they receive help on their questions

Consult our trusted tutors.