03 Dec Markham Saturday 14:00 Java Homework 21.11.27.
In the play framework application create the below route:
Create a route called /calculate that takes in three query parameter that is num1 and num2 and operation and does the below stuff:
- If the value of operation is “add”, then add the two numbers.
- if the value of operation is “subtract” then subtract the two numbers
- if the value of operation is divide, the divide the two numbers
- If the value of operation is multiply then multiply the two numbers
Sorry, the comment form is closed at this time.