C:
#include<stdio.h>
int main(){
printf("Hello World\n");
return 0;
}
C++:
#include<iostream>
using namespace std;
int main(){
cout<<"Hello World"<<endl;
return 0;
}
Python:
print("Hello World\n")
Node JS:
console.log("Hello World");
Java Script:
document.write("Hello World");
Objective C:
#import <Foundation/Foundation.h>
int main(int argc, const char* argv[]){
@autoreleasepool{
NSLog(@"Hello World");
}
0;
}
JAVA:
class HelloWorld{
public static void main(String[] args){
System.out.println("Hello World");
}
}
BASH:
echo "Hello World"
Comments
Post a Comment