Example Run Of Program: Enter the width and length of the storm (in miles): 10 100 Enter the average amount of rainfall (in inches): 15 Enter the duration of the storm (in days): 10 A storm 10 miles by 100 miles in size, raining on average 15 inches of rain per day, lasting 10 days would produce 6.10746e+09 kjoules of energy.
const float INCHES_PER_FOOT = 12.0;
double inchesToFeet( double d )
{
return d * INCHES_PER_FOOT;
}