Easy Approach
\n\n# Code\n\nclass Solution {\npublic:\n    int smallestEvenMultiple(int n) {\n       \n       int ans =0;\n       int count=0;\n      for(int i=0;i<n;i++)\n  
\n\n# Code\n```\nclass Solution {\npublic:\n    int smallestEvenMultiple(int n) {\n       \n       int ans =0;\n       int count=0;\n      for(int i=0;i<n;i++)\n      {\n          if(n%2!=0)\n          {\n\n            return n*2; \n         \n          }\n          else {\n              return n;\n\n          }\n      }\n        return 0;\n       \n        \n    }\n};\n```
['Array', 'Math', 'C++']