4 languages, 1 page
Compare Languages
Same concept, four syntaxes. See how C, C++, Java, and Python express the same idea — side by side, no tabs, no scrolling away.
Hello World
The first program you ever write — print a string to the console.
C
#include <stdio.h>
int main(void) {
printf("Hello, Codekilla!\n");
return 0;
}C++
#include <iostream>
using namespace std;
int main() {
cout << "Hello, Codekilla!\n";
return 0;
}Java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, Codekilla!");
}
}Python
print("Hello, Codekilla!")