C++ Solution
Code\n\nclass Solution {\npublic:\n    int smallestEvenMultiple(int n) {\n        if(n % 2 == 0) return n;\n        else return n * 2;\n    }\n};\n
# Code\n```\nclass Solution {\npublic:\n    int smallestEvenMultiple(int n) {\n        if(n % 2 == 0) return n;\n        else return n * 2;\n    }\n};\n```
['C++']