Volume of a Cylinder
From ElectronicWar
| Challenge Information for Volume of a Cylinder | |
| Challenge | Volume of a Cylinder |
| Code | 13 |
| Input Example | 2,3 |
| Output Example | 37.69911193847656 |
| Level | 30 |
| Profit | $3200 |
| Experience | 160 to each stat |
| Description | Return the volume of a cylinder given radius and height |
[edit] Solution
int r = getInputInt(); int h = getInputInt(); setOutputFloat(getPI() * r * r * h);

