Code tag removing code in <>

its ignoring #include <iostream>



            #include <iostream>

            using namespace std;

            // main() is where program execution begins.

            int main() {

                cout << "Hello World"; // prints Hello World

                return 0;




you can’t use angular brackets, you need to use the symbol so that they are not interpreted as code
you can find a whole list of html entities in this article: