ab 3 choose karo jaldi
Attachments:
Answers
Answered by
1
Answer:
ap mare GF bano gi plz
#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
0
Explanation:
- MUNCH
- DAIRY MILK
- KITKAT
Similar questions