TORONTO KIDS COMPUTER CLUB | Markham Saturday 14:00 Java Homework 21.11.27.
20122
post-template-default,single,single-post,postid-20122,single-format-standard,ajax_fade,page_not_loaded,,no_animation_on_touch,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Markham Saturday 14:00 Java Homework 21.11.27.

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
No Comments

Sorry, the comment form is closed at this time.