Printing multiple lines in C++

#include <iostream>
using namespace std;
 
int main() {
     cout << "welcome," << endl;
     cout << "to the website." << endl;
     cout << "w3mentor.com!" << endl;
 
     system("PAUSE");
     return 0;
}

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.