C programming

Saturday, January 17, 2009

#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(); }

0 comments:

Visitors

PlugIn.ws - Free Hit Counter, Web Site Statistics, Traffic Analysis

  © Blogger template Leaving by Ourblogtemplates.com 2008

Back to TOP