Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- multiplication_table_v1.c
- You can find all my C programs at Dragan Milicev's pastebin:
- https://pastebin.com/u/dmilicev
- */
- #include <stdio.h>
- int main(void)
- {
- int i,j;
- system("MODE CON: COLS=55 LINES=29");
- printf("\n x |\t 1 2 3 4 5 6 7 8 9 \n");
- printf(" ___________________________________________________ \n\n");
- for ( i=1; i<=10; i++ )
- {
- printf(" %2d |", i );
- for ( j=1; j<10; j++ )
- {
- printf("%5d", i*j );
- }
- printf("\n | \n");
- }
- return 0;
- } // main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement