Hello World
C++
#include<iostream>
using namespace std;
int main(void)
{
cout<<"hello,world!"<<endl;
return 0;
}
Python R
print('hello,world!')
Matlab
disp('hello, world!');
Linux
echo "hello, world!"
Html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h3>hello,world!</h3>
<script>
document.write('你好')
</script>
</body>
</html>
Java
javac hello.java
java -cp . hello
class hello {
public static void main(String[] args) {
System.out.println("Hello World");
}
}