how to create multiplication tables

Oct 7, 2008 at 8:05am
I need help in creating a multiplication table.
Oct 7, 2008 at 1:06pm
In code I assume?
Oct 7, 2008 at 2:59pm
if i understand ur problem correctly u want to give the output like
2*2=4
is it?
if yes u just ve to use a for loop
1
2
for(i=1;i<11;i++)
   cout<<n<<" * "<<i<<"  = "<<n*i<<"\n"; //n is the number of d mul table is 2 b printd 
Topic archived. No new replies allowed.