Quick Print – CSKC
Sign In

Search

siteicon
Solved Problem #CPP#2053 Back

Problem Statement - Powering a number using a loop

Write a c++ program to power a base number with the given exponent by using a for loop.

Solution

		 

Run Output

6^5 = 7776