Answer :
A program that loops and performs powers of 5 on each loop.In each lap the operator is asked IN CODE C++ the C++ Program for the given hassle announcement is as follows:#include the use of namespace std.
What is the energy of a variety of?
The energy of a variety of says how usually to apply the range in a multiplication. Powers also are known as Exponents or Indices. For example, eight^2 might be known as “eight to the energy 2” or “eight to the second one energy”, or simply “eight square.
- C++ Program for the given hassle announcement is as follows:
- #include
- the use of namespace std;
- int main() > base;
- cout << "nEnter the exponent: "; //asks the user for keyboard input for exponent
- cin>>exponent;
- for (int i = 1; i <=exponent; i++) //iterate {through|thru|via">via 1 until exponent
- {
- num=num*base;
- //base is multiplied (e.g. 2*2*2.....n) until n, wherein n is exponent
- }
- cout <<"n"<strength of "<go back 0;
- }
- Sample Output:
- Stdin Inputs
Read more about the loops :
https://brainly.com/question/26497128
#SPJ1