Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void loo(int x, int y, int z, int n)
- {
- if(n >= 1)
- {
- if(loo <= n)
- {
- loo((x+1) * (y+1) * (z+1));
- }
- else if(loo==n)
- {
- printf("%d", n);
- }
- }
- else
- {
- printf("Falso");
- }
- }
- int main()
- {
- int x, y, z, n;
- scanf("%d", &n);
- loo(0, 1, 2, n);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement