multiplication table

display the multiplication table like this .. 12345

Page 1 of 1

3 Replies - 2214 Views - Last Post: 23 March 2010 - 10:22 AM Rate Topic: -----

#1 Guest_daice*


Reputation:

multiplication table

Posted 23 March 2010 - 07:01 AM

multiplication table and the output is should be like this ...
1 2 3 4 5 ......
2 4 6 8 10 .....
3 6 9 11 13 ....

like that , i need the answer as soon as possible .
run only in C language or C-Free
tnx .
Is This A Good Question/Topic? -2

Replies To: multiplication table

#2 Martyn.Rae  Icon User is offline

  • The programming dinosaur
  • member icon

Reputation: 545
  • View blog
  • Posts: 1,420
  • Joined: 22-August 09

Re: multiplication table

Posted 23 March 2010 - 07:15 AM

There is a policy here on this site that states we will not do assignments or your homework for you. We need to see some effort on your part before we can get involved. If you have code, then please post it between :code: tags, and we will gladly answer any questions you may have.
Was This Post Helpful? 0
  • +
  • -

#3 tyke17  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 21-September 09

Re: multiplication table

Posted 23 March 2010 - 09:48 AM

thats so easy...
you should atleast try coding it,

if you still get errors, post your code.
Was This Post Helpful? 0
  • +
  • -

#4 kuldeephawks  Icon User is offline

  • New D.I.C Head

Reputation: -6
  • View blog
  • Posts: 2
  • Joined: 20-March 10

Re: multiplication table

Posted 23 March 2010 - 10:22 AM

thats so easy man....but i guess u r new to this...so
but let me help u a little...
try nested for loop...
like this ..

for(i=2;i<10;i++)
{
for(j=1;j<=10;j++)
printf("%d\t",i*j);

printf("\n");
}
this will solve ur problem...
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1