1: #include<stdio.h>
2: #include<conio.h>
3: void main()
4: {
5: int n,i;
6: printf("Enter the num");
7: scanf("%d",&n);
8: i=1;
9: while(i<=10)
10: {
11: printf("%3d x %3d = %3d\n",n,i,n*i);
12: i++;
13: }
14: getch();
15: }
No comments:
Post a Comment