Hello World Code | Answer | % Correct |
---|---|---|
int main() { std::cout << "Hello, world!"; return 0; } | C++ | 96%
|
class Program { public static void Main(string[] args) { Console.WriteLine("Hello, world!"); } } | C# | 82%
|
Python | 80%
| |
import javax.swing.JLabel; public class HelloWorld { public static void main(String[] args) { JFrame frame = new JFrame(); frame.setTitle("Hi!"); frame.add(new JLabel("Hello world!")); frame.pack(); frame.setLocationRelativeTo(null); frame.setVisible(true); } } | Java | 79%
|
JavaScript | 50%
| |
Bash | 39%
| |
Ruby | 33%
| |
JQuery | 25%
| |
#import int main(void) { NSLog(@"Hello world!"); return 0; } | Objective-C | 21%
|
BASIC | 20%
| |
begin WriteLn('Hello world!'); end. | Pascal | 20%
|
import "fmt" func main() { fmt.Println("Hello World!") } | Go | 18%
|
R | 12%
| |
MATLAB | 11%
| |
OCaml | 3%
|
Copyright H Brothers Inc, 2008–2024
Contact Us | Go To Top | View Mobile Site