JoyMozumder

print (1-100)

Jan 26th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #include<stdio.h>
  2. int number_1(x);
  3. int number_2(y);
  4. int main()
  5. {
  6. int a=1;
  7. number_1(a);
  8. return 0;
  9. }
  10. int number_1(x)
  11. {
  12. int z=x;
  13. printf("%d\t",z);
  14. z=z+1;
  15. if(z<=100)
  16. number_2(z);
  17. return 0;
  18.  
  19. }
  20. int number_2(y)
  21. {
  22. int z=y;
  23. printf("%d\t",z);
  24. z=z+1;
  25. if(z<=100)
  26. number_1(z);
  27. return 0;
  28. }
Advertisement
Add Comment
Please, Sign In to add comment