6 Replies - 852 Views - Last Post: 01 December 2009 - 09:05 AM Rate Topic: -----

#1 charisse  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 11-November 09

Write a C code that will display the multiplication table of the numbe

Posted 01 December 2009 - 05:58 AM

Write a C code that will display the multiplication table of the number that the
user entered.
Is This A Good Question/Topic? 0
  • +

Replies To: Write a C code that will display the multiplication table of the numbe

#2 nathanpc  Icon User is offline

  • SCIENCE!
  • member icon

Reputation: 113
  • View blog
  • Posts: 1,171
  • Joined: 31-July 09

Re: Write a C code that will display the multiplication table of the numbe

Posted 01 December 2009 - 06:09 AM

I think this is a homework, but you can first do a scanf:
int number;
printf("Enter a number: ");
scanf("%d", &number);


Then you can start learning about loops, arrays and these things ;)

This post has been edited by nathanpc: 01 December 2009 - 06:09 AM

Was This Post Helpful? 0
  • +
  • -

#3 charisse  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 11-November 09

Re: Write a C code that will display the multiplication table of the numbe

Posted 01 December 2009 - 06:21 AM

View Postnathanpc, on 1 Dec, 2009 - 05:09 AM, said:

I think this is a homework, but you can first do a scanf:
int number;
printf("Enter a number: ");
scanf("%d", &number);


Then you can start learning about loops, arrays and these things ;)

i know that you should do that first.but i dont know how are you going to use the loop thing..
Was This Post Helpful? 0
  • +
  • -

#4 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6246
  • View blog
  • Posts: 24,014
  • Joined: 23-August 08

Re: Write a C code that will display the multiplication table of the numbe

Posted 01 December 2009 - 07:00 AM

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: :code:

Thanks.
Was This Post Helpful? 0
  • +
  • -

#5 nathanpc  Icon User is offline

  • SCIENCE!
  • member icon

Reputation: 113
  • View blog
  • Posts: 1,171
  • Joined: 31-July 09

Re: Write a C code that will display the multiplication table of the numbe

Posted 01 December 2009 - 07:34 AM

View Postcharisse, on 1 Dec, 2009 - 05:21 AM, said:

i know that you should do that first.but i dont know how are you going to use the loop thing..

Then I suggest you to start by learning how to use a loop ;)

After, post here if you have any questions about loops that we are going to be proud to help you :)
Was This Post Helpful? 0
  • +
  • -

#6 Huzi94  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 14
  • View blog
  • Posts: 119
  • Joined: 14-November 09

Re: Write a C code that will display the multiplication table of the numbe

Posted 01 December 2009 - 08:56 AM

Maybe the code below will help.
*** REMOVED ***


This post has been edited by JackOfAllTrades: 01 December 2009 - 09:04 AM

Was This Post Helpful? 0
  • +
  • -

#7 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6246
  • View blog
  • Posts: 24,014
  • Joined: 23-August 08

Re: Write a C code that will display the multiplication table of the numbe

Posted 01 December 2009 - 09:05 AM

Huzi94, we do not just do people's homework for them here.

Closed.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1