im learning C++ by myself. (my brother and I)
yesterday a friend of us told us that we can make a multiple array..
and he gave us an example with a times table ( 2x2=4)
we tried to use it but it didn't work
we used the
int num[ ] [ ];
of couse if we hard code it will work but we cannot do it, by prompting the user..
can you help us solving it?
thank you in advance for your help.
Thank you for all your feed back..
------------------------------------------------------------------------------------
but how can i make it interactive.. propting the user..
like..
cout<<"Please enter the first number"<<endl;
cin>>num1;
cout<<"Please enter the second number"<<endl;
cin>>num2;
and then display
cout<<num1<<*<<num2<<"="result<<endl; //displaying both numbers and then the result
==============================================