Thursday, September 20, 2012

program for multiplication table of a number.

c program code for multiplication table of a number using for loop...

#include<conio.h>
#include<stdio.h>
void main()
{
int n,j,i;
clrscr();
printf("Enter the number\n");
scanf("%d",&n);
for(i=1;i<=10;i++);                                      
{
j=n*i;
printf("%d*%d=%d\n",i,n,j);  //it prints the multiplication
                                                   table line by line..
}
getch();
}

16 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
    Replies
    1. This comment has been removed by a blog administrator.

      Delete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
    Replies
    1. This comment has been removed by a blog administrator.

      Delete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. This comment has been removed by a blog administrator.

    ReplyDelete
  6. This comment has been removed by a blog administrator.

    ReplyDelete
  7. This comment has been removed by a blog administrator.

    ReplyDelete
  8. This comment has been removed by a blog administrator.

    ReplyDelete
  9. This comment has been removed by a blog administrator.

    ReplyDelete
  10. This comment has been removed by a blog administrator.

    ReplyDelete
  11. This comment has been removed by a blog administrator.

    ReplyDelete
  12. This comment has been removed by a blog administrator.

    ReplyDelete
  13. Je dois dire que dans l'ensemble je suis très pris avec ce site. Il est évident que vous vous connaissez sujet et vous êtes passionné par le sujet. Je voudrais avoir obtenu votre capacité à écrire. J'ai signet votre site et nous nous réjouissons à plus de mises à jour.
    Et c'est mon site robinetshop.com sur les robinets d'eau, bienvenue à visiter à tout moment.

    ReplyDelete
  14. Aparte de sus aparentes ve muy bien, un montón de grifos disponibles grifo-de-lavabo son durables y de larga duración. Este es sin duda importante, ya que son uno de los accesorios de accesorios-de-bano alrededor de la casa que son más a menudo used.A buena parte de ellos está hecho de acrílico, cromo y acero inoxidable. Seguramente, usted puede encontrar un grifo grifos-de-ba?era que realmente va a acentuar el lavabo en su cuarto de ba?o.

    ReplyDelete