Strings: Task 4


  1. Change it from a regular string literal into a template literal.
  2. Replace the four asterisks with four template literal placeholders. These should be:
    1. The name of the theorem.
    2. The number values we have.
    3. The length of the hypotenuse of a right-angled triangle, given that the two other side lengths are the same as the two values we have. You'll need to look up how to calculate this from what you have. Do the calculation inside the placeholder.
  3. As a bonus, shorten the solution to the nearest hundredth.