TO FIND MULTIPLICATION TABLE USING C PROGRAM





1. Multiplication tables in c program
2. Write a c program to print multiplication table
3. Code for multiplication table in c
4. Multiplication table in c language
5. Write a c program to print multiplication table

#include<stdio.h>
int main(){
  int r,i,j,k;
  printf("Enter the number range: ");
  scanf("%d",&r);
  for(i=1;i<=r;i++){
      for(j=1;j<=10;j++)
           printf("%d*%d=%d ",i,j,i*j);
      printf("\n");
  }
  return 0;
}

Sample Output:



Enter the number range: 5

1*1=1 1*2=2 1*3=3 1*4=4 1*5=5 1*6=6 1*7=7 1*8=8 1*9=9 1*10=10

2*1=2 2*2=4 2*3=6 2*4=8 2*5=10 2*6=12 2*7=14 2*8=16 2*9=18 2*10=20
3*1=3 3*2=6 3*3=9 3*4=12 3*5=15 3*6=18 3*7=21 3*8=24 3*9=27 3*10=30
4*1=4 4*2=8 4*3=12 4*4=16 4*5=20 4*6=24 4*7=28 4*8=32 4*9=36 4*10=40
5*1=5 5*2=10 5*3=15 5*4=20 5*5=25 5*6=30 5*7=35 5*8=40 5*9=45 5*10=50





10. Write a c program to add two numbers without using addition operator.
11. Write a c program to subtract two numbers without using subtraction operator.
15. Write a c program to solve quadratic equation.
18. Write a c program which passes structure to function.
28. Write a c program which takes password from user.
29. Write a scanf function in c which accept sentence from user.
30. Write a scanf function in c which accept paragraph from user.

26 comments:

  1. thank u so much! I don't know how to present this! thanks! ^.*

    ReplyDelete
  2. Hey man Thanks a lot. You have helped me for the assignments. May god bless you.

    -akshar
    (India)

    ReplyDelete
  3. THANKS MAN ALOT??????HACKERDOLMA007

    ReplyDelete
  4. very useful..!!

    ReplyDelete
  5. lovely site mere assignments main kafi help kar rahi hai....
    thankssssss
    thankssssss
    thankssssss
    thankssssss
    thankssssss
    thankssssss
    thankssssss
    thankssssss
    thankssssss
    thankssssss
    thankssssss
    thankssssss
    thankssssss
    thankssssss
    thankssssss
    thankssssss
    thankssssss................:-)

    ReplyDelete
    Replies
    1. same for me.......love this site

      Delete
    2. no mention .....

      Delete
  6. thank.....uuuuu...soooooooo........much..........

    ReplyDelete
  7. thank you

    ReplyDelete
  8. thank u very much......it's vry useful 4 me....

    ReplyDelete
  9. thank you so much

    q: can i print the multiplication table for the number i print from 1 to 10 without the rest

    ReplyDelete
  10. very useful site....thank you guys and best of luck in the future with more programs .. ;)

    ReplyDelete
  11. thank you so much... can you help me to find number of prime numbers upto n terms

    ReplyDelete
  12. Thank you very Much, Its very helpful...

    ReplyDelete
  13. Thank u... very helpful for my exam...

    ReplyDelete
  14. hey can u please wirte it using while loop for the same output??????????
    please........

    ReplyDelete
  15. wap to get three intejer charecter and coverts is to an intejer number.

    ReplyDelete
  16. hey rithish thanks yaar...
    it would be even more helpful if u give explanation

    ReplyDelete
  17. theres an easier code with simpler lines, ive created
    #include
    #include

    int main(){
    int i=1;
    int j;
    printf("please enter number for table:");
    scanf("%d",&j);

    for(i=1; i<13; i++){
    printf("\n%d*%d=%d",i,j,i*j);
    }


    output

    1*5=5
    2*5=10
    3*5=15
    4*5=20
    5*5=25
    6*5=30
    7*5=35
    8*540
    9*5=45
    10*5=50
    11*5=55
    12*5=60

    ReplyDelete
  18. thx paji
    i got a big help bcoz of this site

    ReplyDelete
  19. Got passed in C external with 48/50
    Thank you

    ReplyDelete
  20. thankewwwww

    ReplyDelete
  21. This comment has been removed by the author.

    ReplyDelete
  22. plz tell about how to orient tables Horizontally and vertically?

    ReplyDelete