Sponsored
Use these hints if you're stuck. Try solving on your own first.
Diagonal of rectangle is <code>sqrt(length<sup>2</sup> + width<sup>2</sup>)</code>.
Solve with full IDE support and test cases