Exercise
Write code that calculates the square root of a given number.
Expected Outcome
The square root of 144 is 12
Code
Decimal num = 144;
Decimal result = Math.sqrt(num);
System.debug('The square root of '+ num + 'is ' + result);
Video
Video does not exists.