. He took pity
the poor.
Answers
Answered by
0
Explanation:
#include <iostream>
using namespace std;
int main()
{
int exponent;
float base, result = 1;
cout << "Enter base and exponent respectively: ";
cin >> base >> exponent;
cout << base << "^" << exponent << " = ";
while (exponent != 0) {
result *= base;
--exponent;
}
cout << result;
return 0;
}
Answered by
1
Explanation:
what do
. you want me do with this sentence?
Similar questions