using System;
namespace ConsoleApplication_C_Sharp
{
class Program
{
static void Main(string[] args)
{
int radius = 5;
Console.WriteLine(sphereVolume(radius));
}
public static double sphereVolume(double r)
{
return 4.0 / 3.0 * Math.PI * Math.Pow(r, 3);
}
}
}
/*
run:
523.598775598299
*/