how to create multiplication tables

I need help in creating a multiplication table.
In code I assume?
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.