Exercise: Calculator with path


  • Write an application that works like a calculator based on the path:
/add/2/3    displays 2+3=5
/mul/3/4    displays 3*4=12

Then also add the following:

/sum/2/1.4/-78

  • Write tests for each case