WordPress code highlighting

// Crayon C++ 

#include <iostream>
using namespace std;

int main()
{
    int a;
    cout << "1,2 or 3" << endl;
    cin >> a;
}
// Enlighter C++

#include <iostream>
using namespace std;

int main()
{
    int a;
    cout << "1,2 or 3" << endl;
    cin >> a;
}

[cpp]
using namespace std;
int main()
{
int a;
cout << "1,2 or 3" << endl; cin >> a;
}
[/cpp]

About the Author

Leave a Reply

Your email address will not be published.

%d bloggers like this: