public override void Run() { radius = InputOutput.CollectDouble("Please input the radius"); CalcualteVolume(); CalculateSurfaceArea(); OutputResault(); }
public override void Run() { length = InputOutput.CollectDouble("Please input the length"); CalcualteArea(); CalcualtePerimeter(); OutputResaults(); }
public override void Run() { radius = InputOutput.CollectDouble("radius"); CalculateArea(); CalculatePerimeter(); OutputResault(); }
public override void Run() { radius = InputOutput.CollectDouble("radius"); height = InputOutput.CollectDouble("height"); CalculateSA(); Console.WriteLine($"the surface area is {surfaceArea}"); CalculateVolume(); Console.WriteLine($"the Volume is {volume}"); }
public override void Run() { length = InputOutput.CollectDouble("Please enter base of Cuboid"); width = InputOutput.CollectDouble("Please enter side length of Cuboid"); height = InputOutput.CollectDouble("Please enter height of Cuboid"); CalculateArea(); Console.WriteLine($"the surface area is {area}"); CalculatePerimeter(); Console.WriteLine($"the Volume is {perimeter}"); }
public override void Run() { length = InputOutput.CollectDouble("cuboid"); width = InputOutput.CollectDouble("cuboid"); height = InputOutput.CollectDouble("cuboid"); CalculateSA(); Console.WriteLine($"the surface area is {surfaceArea}"); CalculateVolume(); Console.WriteLine($"the Volume is {volume}"); }
void Input() { length = InputOutput.CollectDouble("Edge Length"); }
void Input() { length = InputOutput.CollectDouble("Height"); radius = InputOutput.CollectDouble("Radius"); }