// Hello, world! program in pure C++, that prints 5 times
#include <iostream>
int main() {
int a;
for(a = 1; a < 6; ++a ) {
std::cout << "Hello, world!\n"; /* prints "Hello, world!" 5 times like this:
Hello, world!
Hello, world!
Hello, world!
Hello, world!
Hello, world!
*/
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: