C++ Recursive ||  Easy Solution
\nclass Solution {\npublic:\n    string convertToBase7(int num) {\n        if(num<0) return "-" + convertToBase7(-num);\n        if(num<7) return to_string(num)
```\nclass Solution {\npublic:\n    string convertToBase7(int num) {\n        if(num<0) return "-" + convertToBase7(-num);\n        if(num<7) return to_string(num);\n        return convertToBase7(num/7) + to_string(num%7);\n    }\n};\n```
['Recursion', 'C', 'Java']