write the algorithm to find the volume and surface area of a cube... algorithms
Answers
Answered by
1
Answer:
Cube is a 3-dimensional box-like figure represented in the 3-dimensional plane. Cube has 6 squared-shape equal faces. Each face meet another face at 90 degree each. Three sides of cube meet at same vertex.
cube
Examples:
Input : Side of a cube = 2
Output : Area = 8
Total surface area = 24
Input : Side of a cube = 3
Output : Area = 27
Total surface area = 54
Similar questions