English, asked by babydoll09771, 3 months ago

click here☝️☝️and answer me plz it's very urgent​

Attachments:

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 shadanafroz8
1

Answer:

1c

2p

3c

4p

5p

6c

7p

8c

9c

10c

Similar questions