Guides to starters and enthusiasts...
Search form is empty!
/*to print multiplication table of any given integer number*/ #include<stdio.h> void main() { int a, i, pro; printf("\nEnter the number: "); scanf("%d", &a); for (i = 1; i <= 10; i++) { pro = a * i; printf("\n%3d X %-3d= %3d", a, i, pro); } }
Follow:
0 comments:
Post a Comment