C Program:
#include <stdio.h>
int main() {
printf("Hello,
World!");
return 0;
}
Python
Program:
print("Hello, World!")
Java
Program:
public class HelloWorld {
public static void
main(String[] args) {
System.out.println("Hello, World!");
}
}
C++ Program:
#include <iostream>
int main() {
std::cout <<
"Hello, World!" << std::endl;
return 0;
}
HTML
Program:
<!DOCTYPE html>
<html>
<head>
<title>Hello, World!</title>
</head>
<body>
<h1>Hello,
World!</h1>
</body>
</html>
JavaScript
Program:
console.log("Hello, World!");
Ruby
Program:
puts "Hello, World!"
0 Comments