Easy C++ approach
AN UPVOTE WOULD BE HIGHLY APPRECIATED !!!\n\n\nclass Solution {\npublic:\n    vector<string> fizzBuzz(int n) {\n        vector<string> ans;\n        \n        f
**AN UPVOTE WOULD BE HIGHLY APPRECIATED !!!**\n\n```\nclass Solution {\npublic:\n    vector<string> fizzBuzz(int n) {\n        vector<string> ans;\n        \n        for(int i=1, fizz=0, buzz=0; i<=n; i++) {\n            fizz++; buzz++;\n            \n            if(fizz==3 and buzz==5) {\n                ans.push_back("FizzBuzz");\n                fizz=0; buzz=0;\n            }\n            else if(fizz==3) {\n                ans.push_back("Fizz");\n                fizz=0;\n            }\n            else if(buzz==5) {\n                ans.push_back("Buzz");\n                buzz=0;\n            }\n            else {\n                ans.push_back(to_string(i));\n            }\n        }\n        \n        return ans;\n    }\n};\n```
['C', 'C++']