#include #include void main() { clrscr(); int a,i,j; printf("Enter a number:"); scanf("%d",&a); for(i=1;i<=10;i++) { for(j=1;j<=a;j++) { printf(" "); printf("%2d X %2d = %2d ",j,i,j*i); } printf("\n\n"); } getch(); }
Post a Comment
© Blogger template Leaving by Ourblogtemplates.com 2008
Back to TOP
0 comments:
Post a Comment