Physics, asked by tanmaymahanti20, 3 months ago

. He took pity
the poor.​

Answers

Answered by Anonymous
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 meenamahyavanshi82
1

Explanation:

what do

. you want me do with this sentence?

Similar questions