#include <iostream>
usingnamespace std;
int main(){
int number, answer=1,final,endanswer=1;
cout<<"Please enter the number that you want its exponential twice!"<<endl;
cin>>number;
for(int counter=0; counter<number; counter++) {
answer = answer * number;
}
cout<<number<<"To the power of"<<number<<" = "<<answer<<endl;
final = answer;
for(int counter=0; counter<number; counter++) {
endanswer= final * endanswer;
}
cout<<number<<"To the power of"<<number<<"To the power of"<<number<< " = "<<endanswer<<endl;
return 0;
}
I get the error "One or more multiply defined symbols found" and the error is at the 10th line, but theres nothing in the 10th line??