Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- /////////////////////////////////////////////////
- void mult(int n)
- {
- for(int m = 1; m < 12; m++)
- {
- printf("%d * %3d = %3d\n", n, m, m * n);
- }
- printf(" \n");
- }
- /////////////////////////////////////////////////
- int main()
- {
- int n = 5;
- mult(n );
- mult(n+1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement