/compute-power

Compute power of one number raised to another

Primary LanguageC++MIT LicenseMIT

Compute-power

Compute value of one number raised to another

Inputs

Allows floating points numbers only. Throws error message if non-numeric inputs are entered.

Checks included

if base value is 0 or 1 and if exponent value is 1. Also, includes check for division by zero.