simple zero check loop solution
\nclass Solution {\npublic:\n    int has0(int x)\n{\n    while (x){\n        if (x % 10 == 0)\n          return 1;\n        x /= 10;\n    } \n    return 0;\n}\n
```\nclass Solution {\npublic:\n    int has0(int x)\n{\n    while (x){\n        if (x % 10 == 0)\n          return 1;\n        x /= 10;\n    } \n    return 0;\n}\n    vector<int> getNoZeroIntegers(int n) {\n        for(int i=1;i<=n;i++){\n            if(has0(i)==false && has0(n-i)==false){\n                return {i,n-i};\n            }\n        }\n        return {1,1};\n    }\n};\n```\n**Please upvote if you like the solution**
['C', 'C++']