Hello world is and A + B problem par a question, one of the classic problems when the world is.
Title:
Output "Hello world"
Sample Input
Sample Output
the Hello World
the Hello World This question Well,
How could I talk about the easiest thing to do?
In front of the high-energy
C ++
#include<isotream> using namespace std; int main(){ cout<<"Hello world"; }
C
#include <stdio.h> int main(void) { printf("Hello world"); return 0; }
Go
package main import "fmt" func main() { fmt.Printf("%s\n", "hello world") }
R
cat("hello world\n")
rust
fn main() { println!("hello world"); }
lisp
*(format t "Hello World")
D
import std.stdio; void main() { writeln("hello world"); }
perl
print "hello world\n";
python
#!/usr/bin/python # -*- coding: utf-8 -*- import sys if True : print('Hello world')
nim
echo "hello world"
haskell
main = putStrLn "hello world"
ruby
puts "Hello world"
scala
println("hello world")
clojure
(ns clojure.examples.hello (:gen-class)) (defn hello-world [username] (println (format "Hello%s" username))) (hello-world "world")
groovy
class Greet { def name Greet(who) { name = who[0].toUpperCase() + who[1..-1] } def salute() { println "Hello world" } } g = new Greet('world') // create object g.salute()
END