Hello World (C++)

pyramid shadow on computer monitor with code editor

#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;

int main() {
    string input_string;

    // basic input
    getline(cin, input_string);

    // basic output
    cout << "Hello, World." << endl;
    cout << input_string << endl;

    return 0;
}

Be the first to comment

Leave a Reply

Your email address will not be published.


*