about | help | code help+videos | done | prefs |
areaOfCircle
Write a function that returns the area of a circle that has a radius of length r. Please use the constant Math.PI for pi. areaOfCircle(0) → 0.0 areaOfCircle(1.5) → 7.0685834705770345 areaOfCircle(1) → 3.141592653589793 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy