JavaScript
console.log("Hello World");Hello World in all 4 languages
The first program usually prints a simple message. It helps students understand how output works.
Like saying your first word in a new language, Hello World is the first step in coding.
Do not miss quotes around text values.
console.log("Hello World");#include <iostream>
using namespace std;
int main(){cout<<"Hello World";return 0;}print("Hello World")<?php echo "Hello World"; ?>First run. Then change the message and test again.