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();
 }
Example #4
0
 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}");
 }
Example #5
0
 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}");
 }
Example #7
0
 void Input()
 {
     length = InputOutput.CollectDouble("Edge Length");
 }
Example #8
0
 void Input()
 {
     length = InputOutput.CollectDouble("Height");
     radius = InputOutput.CollectDouble("Radius");
 }