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