Print "Hello World" in different Coding Languages - Statistics

General Stats
  • This quiz has been taken 194 times
  • The average score is 7 of 15
Answer Stats
Hint Answer % Correct
#include <stdio.h> int main() { printf("Hello, world!\n"); return 0; } C
98%
print("Hello World") Python
98%
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, world!"); } } Java
97%
console.log("Hello, world!"); JavaScript
84%
<?php echo "Hello, world!"; ?> PHP
68%
#include <iostream> int main() { std::cout << "Hello, world!" << std::endl; return 0; } C++
59%
using System; class Program { static void Main() { Console.WriteLine("Hello, world!"); } } C#
49%
puts "Hello, world!" Ruby
46%
fn main() { println!("Hello, world!"); } Rust
34%
echo "Hello, world!" Shell Script
31%
package main import "fmt" func main() { fmt.Println("Hello, world!") } Go
27%
program hello print *, 'Hello, World!' end program hello Formula Translation
13%
print "Hello, world!\n"; Perl
12%
main = putStrLn "Hello, world!" Haskell
10%
object HelloWorld { def main(args: Array[String]): Unit = { println("Hello, world!") } } Scala
9%
No matching quizzes found
Score Distribution
Percent of People with Each Score
Percentile by Number Answered
Your Score History
You have not taken this quiz