Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 
avatar of Matt McCarthy

Matt McCarthy

Matt McCarthy has asked 3 questions and find answers to 0 problems.

Stats

15
EtPoint
0
Vote count
3
questions
0
answers

About

"Hello, World!" in a few different languages, for the beginner programmer.

HTML:

<!DOCTYPE html>
<html lang=en>
<head></head>
<body>
  <h1>Hello, World!</h1>
</body>
</html>

Javascript:

console.log('Hello, World!');

Python 3:

print('Hello, World!')

C:

#include <stdio.h>

int main() {
    puts("Hello, World!\n");

    return 0;
}

C++:

#include <iostream>

using namespace std;

int main() {
    cout << "Hello, World!" << endl;

    return 0;
}

Matt McCarthy answers