HelloWorld in different program language
with Ada.Text_IO, Ada.Integer_Text_IO;
use Ada;
procedure Solution is
begin
Ada.Text_IO.Put_Line("Hello-world");
end Solution;
#include <stdio.h>
int main()
{
printf("HelloWorld!\n");
return 0;
}
#include <iostream>
using namespace std;
int main()
{
std::cout << "HelloWorld" << std::endl;
return 0;
}
package main
import "fmt"
func main() {
fmt.Println("HelloWorld")
}
class HelloWorld {
def static void main(String[] args) {
println("Hello World")
}
}
console.log("HelloWorld");
print("HelloWorld")
#import <Foundation/Foundation.h>
int main(int argc, const char * argv[]) {
@autoreleasepool {
// insert code here...
NSLog(@"HelloWorld");
}
return 0;
}
print "Hello, World!\n";
print("HelloWorld")
print("Hello, World!")
Module MainFrm
Sub Main()
System.Console.WriteLine("Hello, World!")
End Sub
End Module