The very famous “Hello World!” Program in all the different (computer) languages I know:
(1) C:
#include<stdio.h>
int main()
{
printf(“Hello World!”);
return(0);
}
(2) C++:
#include<iostream>
using namespace std;
int main()
{
cout<<”Hello World!”;
return(0);
}
(3) Python:
#!/usr/bin/env python
print “Hello World!”
[Keep watching this space, I'll add more here]


Recent Comments