#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
cout<<"x value x2 value x3value\n\n";
int x=0, y, z;
back: x++;
if(y=x*x)
if(z=x*x*x)
cout<<" "<<x<<" "<<y<<" "<<z<<"\n";
if(x<10)
goto back;
system("PAUSE");
return EXIT_SUCCESS;
}
how can i get the total of x value, x2 value, x3 value...???
PLZ...... can some one help me...???? plzzzz