1=11 2 +=31 2 + 3 +=61 2 3 + +=61 2 3 + + 4 5 + + 6 +=211.5 2 +=3.5-1 2 +=1
1 2 -=-13 1 -=22 3 *=63 2 /=1.51 2 3 + / 4 5 - + 6 *=-4.8
Refactoring phase
- You should be able to add custom operations to your calculator without modifying nor adding any code to your
coremodule.
9 SQRT=33 9 SQRT *=95 3 7 MIN=35 3 7 9 MIN 2 +=55 7 MAX=75 3 7 1 2 MAX 2 +=95 3 7 AVG=55 3 7 AVG 2 +=7
Refactoring phase
- Your calculator should be able to parse custom notations without modifying nor adding any code to your
coremodule. - For example, you could try to implement the infix notation.