<?xml version="1.0" encoding="utf-8"?>

<snippet name = "球面面积" description = "计算给出半径的球面面积。" preview="code" type="block">

<insertText location="beforeSelection">

<![CDATA[function areaOfSphere(radius) { return 4 * Math.PI * (Math.pow(radius, 2)); }

]]>

</insertText>

<insertText location="afterSelection"><![CDATA[]]>

</insertText>

</snippet>

