Hi,

I can't use loops for this. Will I have to declare each number from 1 to 10 if I wish to print the square and cube of 1 until 10??

Thanks

Code:int main(int argc, char* argv[]) { int number; cout << "Enter a number(s), and you will receive the square and cube of" << " that number: " << endl; cin >> number; cout << "number\t" << "square\t" << "cube" << endl; cout << number << "\t"; number = number * number; cout << number << "\t"; number = number * number * number; cout << number; getch(); return 0; }