340 - Cube Volume
Cube Volume
Time Limit: 1 sec
The Problem
A Cube is a combination of 6 Squares of same length means it is a 6-sided figure of a Square.
What will be the volume of the Cube?
The Input
The input contains a series of lines. Each line contains a single integer number, the length of one side of a Surface Area of Cube, S (S <= 1000).
The Output
For each line of input the output will show the Volume of the Cube rounded to 2 decimal points in a separate line.
Sample Input
24
54
31
Sample Output
8.00
27.00
11.74
Problem Setter: Samia Safa Ahmed