One line without if statement
Code\n\nclass Solution {\n    public int smallestEvenMultiple(int n) {\n        return n + n * (n % 2);\n    }\n}\n\n
# Code\n```\nclass Solution {\n    public int smallestEvenMultiple(int n) {\n        return n + n * (n % 2);\n    }\n}\n```\n![Screenshot 2023-02-03 at 19.57.18.png](https://assets.leetcode.com/users/images/1e500106-ea3e-47da-a873-f9250d3e1f2a_1675503867.9706118.png)
['Java']