Volume of a Cube
From Hack Wars Wiki
Outdated, should be deleted. - aoi
| Challenge Information for Volume of a Cube | |
| Challenge | Volume of a Cube |
| Code | 12 |
| Input Example | 1, 2, 3 (Int) |
| Output Example | 6 (Int) |
| Level | 0 |
| Profit | $0 |
| Experience | 0 to each stat |
| Description | Return the volume of a cube given width,height,and depth |
Solution
setOutputInt(getInputInt() * getInputInt() * getInputInt()); |
