Simple solution for beginners
\n\n# Approach\n The problem says we have to return an integer number such that it is multiple of n and 2.\n one thing is clear our answer must be even number.\
\n\n# Approach\n* The problem says we have to return an integer number such that it is multiple of n and 2.\n* one thing is clear our answer must be even number.\n* if n is itself even number than it is answer\n* otherwise minimum multiple of n that is even is 2n \n\n# Complexity\n- Time complexity:\nO(1)\n\n- Space complexity:\nO(1)\n# Code\n```CPP []\nclass Solution {\npublic:\n    int smallestEvenMultiple(int n) \n    {\n        if (n%2 == 0)\n        {\n            return n;\n        }    \n        return 2*n;\n    }\n};\n```\n```python []\nclass Solution:\n    def smallestEvenMultiple(self, n: int) -> int:\n        if n%2 == 0:\n            return n\n        else:\n            return 2*n\n```
['C++']