Code Wars C# 8 kyu: Find Out Whether the Shape is a Cube



Code Wars C# 8 kyu: Find Out Whether the Shape is a Cube

Code Wars C# 8 kyu: Find Out Whether the Shape is a Cube

Beginner level C# object oriented programming series. You are provided two double precision floating point values as input. The first represents a volume, the second the length of a side of a cuboid. You must return whether or not the side length pertains to a cube with the specified volume. The formula for calculating the volume of a cube is provided at the challenge link, in case you forgot it.

The best way to learn computer programming is by actually writing code. Create a Code Wars account at www.codewars.com/r/3jPbdQ to follow along. No downloads required- you can start coding right away from your favorite browser. Coding challenges can be quite fun too, like puzzles and brain teasers. This challenge may be found at: https://www.codewars.com/kata/58d248c7012397a81800005c/train/csharp

Comments are closed.