simple and easy understanding c++ code
\ncpp []\nclass Solution {\npublic:\n    vector<string> fizzBuzz(int n) {\n        vector<string> str;\n        for(int i=1;i<=n;i++){\n            if(i%3==0&&i
\n```cpp []\nclass Solution {\npublic:\n    vector<string> fizzBuzz(int n) {\n        vector<string> str;\n        for(int i=1;i<=n;i++){\n            if(i%3==0&&i%5==0){\n                str.push_back("FizzBuzz");\n            }\n             else if(i%3==0){\n                str.push_back("Fizz");\n            }\n             else if(i%5==0){\n                str.push_back("Buzz");\n            }\n            else{\n                str.push_back(to_string(i));\n            }\n        }\n        return str;\n    }\n};\n```
['C++']