hi all,
i need help simple c++,
to insert any number form 1 to 9999999....
i want to give a message as
"do you want another operation" if yes return,else "no" exit.
i try with this code under,
# include <iostream.h>
int a;
void main(){
for(int x=1;x<=10;x++){
cout<<"ENTER YOUR NUMBER"<<"\t";
cin>>a;
a=x*x;
cout<<"\t"<<a;
cout<<endl;
}
}
thanks.