Worldwide Edition
Let's learn how to "say" 'Hello World' in different language:
- In C language
int main(void)
{
printf("Hello World \n");
}
- In C++ language
using namespace std;
void main()
{
cout << "Hello World" << endl;
return 0;
}
- In C# language
using System;
public class Hello2
{
public static void Main()
{
Console.WriteLine("Hello, World!");
}
}
- In VB/VBA language
Module Hello
MsgBox("Hello, World!") ' Display message on computer screen.
End Sub
- In Perl
#!/usr/local/bin/perl
print "Hello World\n";
0 comments:
Post a Comment