//alows the private methods to be run by menu running the public method public void Run() { radius = InputOutput.CollectDouble("length"); CalculateSurfaceArea(); InputOutput.OutputResult(" surfacearea", result); CalculateVolume(); InputOutput.OutputResult("Circumference", result); }
//alows the private methods to be run by menu running the public method public void Run() { radius = InputOutput.CollectDouble("length"); height = InputOutput.CollectDouble("height"); CalculateSurfaceArea(); InputOutput.OutputResult("surface area", result); CalculateVolume(); InputOutput.OutputResult("Volume", result); }
//alows the private methods to be run by menu running the public method public void Run() { length = InputOutput.CollectDouble("length"); CalculateSurfaceArea(); InputOutput.OutputResult("length", result); CalculateVolume(); InputOutput.OutputResult("Volume", result); }
public void Run() { side = InputOutput.CollectDouble("side"); CalculateArea(); InputOutput.OutputResult("area", result); CalculatePerimeter(); InputOutput.OutputResult("perimeter", result); }
//alows the private methods to be run by menu running the public method public void Run() { length = InputOutput.CollectDouble("length"); width = InputOutput.CollectDouble("width"); depth = InputOutput.CollectDouble("depth"); CalculateCuboidSurfArea(); InputOutput.OutputResult("surface area", result); CalculateCuboidVolume(); InputOutput.OutputResult("Volume", result); }
public void Run() { triangleBase = InputOutput.CollectDouble("base"); height = InputOutput.CollectDouble("height"); side = InputOutput.CollectDouble("side"); CalculateArea(); InputOutput.OutputResult("area", result); CalculatePerimeter(); InputOutput.OutputResult("perimeter", result); }
public void Run() { length = InputOutput.CollectDouble("length"); width = InputOutput.CollectDouble("width"); CalculateArea(); InputOutput.OutputResult("area", result); CalculatePerimeter(); InputOutput.OutputResult("perimeter", result); width = InputOutput.CollectDouble("length"); CalculateArea(); InputOutput.OutputResult(result, "area"); CalculatePerimeter(); InputOutput.OutputResult(result, "perimeter"); }