Advertisement
Guest User

Untitled

a guest
Nov 19th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. void loo(int x, int y, int z, int n)
  4. {
  5. if(n >= 1)
  6. {
  7. if(loo <= n)
  8. {
  9. loo((x+1) * (y+1) * (z+1));
  10. }
  11. else if(loo==n)
  12. {
  13. printf("%d", n);
  14. }
  15. }
  16. else
  17. {
  18. printf("Falso");
  19. }
  20. }
  21. int main()
  22. {
  23. int x, y, z, n;
  24. scanf("%d", &n);
  25. loo(0, 1, 2, n);
  26. return 0;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement