Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<stdlib.h>
- void tabu (int p_num, int p_cont);
- int main () {
- int num;
- scanf("%d", &num);
- tabu(num, 1);
- system ("pause");
- return 0;
- }
- void tabu (int p_num, int p_cont){
- if (p_cont <= 10) {
- printf("%d x %d = %d \n", p_num,p_cont, p_num*p_cont);
- tabu(p_num,p_cont + 1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement