I've written this very simple program that Will raise a series of intreger values the nth power. And it has to have the ouput as I have written it"2 Raised to the Power=8. This will run believe I did but!! it didn't see =8. And now I have to decide what loop or what ever makes since to RUN A SERIES. I would appreciate some help. And thank you this board is SO much help I do have the tutorial printed out in front of me. I completed three other programs today that I have figured out and ran fine. So thank you again for any suggestions.
#include<iostream.h>
#include<math.h>
void main(void)
{
int number=0,
x=0,
power=0,
ans=0;
cout<<"Enter Number ";
cin>>number;
cout<<"Enter Power ";
cin>>power;
x=pow(number,power);
cout<<number<<" Raised to the the Power "<<endl;