Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Q1. But Confused
- #include<stdio.h>
- recursion(int num)
- {
- if(num > 100000)
- {
- return;
- }
- printf("%d+",num);
- recursion(num * 4);
- }
- int main()
- {
- int n;
- scanf("%d",&n);
- recursion(n);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement