Exercise 7 Output Roi Avidan ----------------

advertisement
Exercise 7 Output
Roi Avidan
----------------Enter mathematical expression to check: 1+(2*5)-7
!Expression is legal
Press any key to continue
)Enter mathematical expression to check: 9-7+(1/4
!Expression is legal
Press any key to continue
)Enter mathematical expression to check: 8*1*5+6
!Brackets not in order
Press any key to continue
Enter mathematical expression to check: 1+(3+{3/5}*[6-1+9])-1
!Expression is legal
Press any key to continue
-Enter mathematical expression to check: 8*4*2
!Expression can only be terminated with a digit or a closing bracket
Press any key to continue
Download