Hey I am pretty new to c++ and algorithmic , so please try explaining me what to do or give me a code for example don't redirect me to a site that already made a library for this because you only wasted your time telling me that.
For example i want to calculate 25 ^ 7 .
For a low number it works as :
cin>>a>>b;
for(i=1;i<=b;i++){
answer=answer*a;
}
But i need a to make a program that works for 0<a,b<100.
Please Help me. I tried a lot of ideas but all failed