The volume of a sphere

Exercise Type: Implementation

Instructions

Based on the examples given earlier, write a function to calculate the volume of a sphere! The function should have the following charactersitics:

name VolumeSphere()
argument(s) radius
return value single numeric value: the volume

You can find the relevant formula on this wiki page!

Hint: the value of π is actually built into R, you can access it anytime with

pi

Use this for your function!