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