Hello World Multiverse: Hello World in Different Programming Languages 1. Javascript <script> alert( 'Hello World' ); </script> 2. Python print('Hello World') 3. C/C++ C #include <stdio.h> int main() { printf("Hello World"); return 0; } C++ #include <iostream> using namespace std; int main() { cout << "Hello World"; return 0; } 4. Java class HelloTest{ public static void main(String args[]){ System.out.println("Hello World"); } } 5. PHP <?php echo "Hello World"; ?> 6. C# public class HelloTest { public static void Main(string[] args) { Console.WriteLine ("Hello World"); } } 7. Go package main import "fmt" func main() { fmt.Println("Hello World") } 8. Scala object HelloTest { def main(args: Array[String]) = { println("Hello World") } }
Log in to join in Reading is open to everyone. Replying needs an account.
11 comments
Cool, I am trying to learn visual language programming software, It's called "Dynamo" and it's very useful for my work-related software. and it's based on python.
Since you said Dynamo a visual PL then it's a design style language, nit pure coding?
yeah right, it's design-style language. work as dialog box
Only computer programmer knows. Hindi ko gets.
magegets mo rin po yan if pag aaralan Tyaga lang talaga po :)
And there goes your first very first program. You're now officially a hacker (or so you thought 😁).
Python seems to be the simplest. Next I think JavaScript. I'm actually learning JavaScript
yes and python also in demand and popular today :) Goodluck, hope you enjoy and learn more about javascript
Python for the win! ( writed from a Linux OS)
Python is one of the hottest programming languages today :)
The truth is that I really like it, a while ago I was playing with a bot to automatically answer comments in hive, and it worked well, done in python.