Home of Script Programming

Welcome to Script Programming




Handy Calculators



Programming Languages

C, C++, C#, F#, Visual BASIC, PASCAL, FORTRAN, GO, COBOL, PL/1, Java, Python, Ruby, Lua, LISP, Prolog, Scala, Jython, IronPython, JRuby, PHP, SQL, Ada, Haskell. Scheme, HTML, XML, LaTeX, AmsLaTeX, LuaTeX, XML, Javascript, CSS, Groovy, Lex, Yacc, Ajax, GnuPlot, Octave, Mathematica, Maple, Swing, Slverlight




Output the string

Hello, world!

in the terminal window.
Output the UTH-8 string

안녕하세요?

in the terminal window.
C Hello

#include <stdio.h> int main() { printf("Hello, world!\n"); return 0; }
C 한글 Hello

#include <stdio.h> int main() { printf("안녕하세요?\n"); return 0; }
C++ Hello

#include <iostream> using namespace std; int main( void ) { cout << "Hello, world!" << endl; return 0; }
C++ 한글 Hello

#include <iostream> using namespace std; int main( void ) { cout << "안녕하세요?" << endl; return 0; }
C# Hello

using System; namespace GeneralHelloApp { class Program { static void Main(string[] args) { Console.WriteLine("Hello, world!"); } } }
C# 한글 Hello

using System; namespace GeneralHelloApp { class Program { static void Main(string[] args) { Console.WriteLine("안녕하세요?"); } } }
F# Hello

printfn "Hello, world!"
F# 한글 Hello

printfn "안녕하세요?"
Java Hello

public class Hello { public staic void main(String[] args) { System.out.println("Hello, world!"); } }
Java 한글 Hello

public class Hello { public staic void main(String[] args) { System.out.println("안녕하세요?"); } }
Python Hello

print("Hello, world!")
Python 한글 Hello

print("안녕하세요?")
Python2 Hello

print "Hello, world!"
Python2 한글 Hello

print "안녕하세요?"
Ruby Hello

print "Hello, world!\n"
Ruby 한글 Hello

print "안녕하세요?\n"
PHP Hello

print("Hello, world!\n")
PHP 한글 Hello

print("안녕하세요?\n")
Lua Hello

print("Hello, world!")
Lua 한글 Hello

print("안녕하세요?")
Groovy Hello

println("Hello, world!")
Groovy 한글 Hello

println("안녕하세요?")



© SCRIPTS.PE.KR Since 22th Jun. 2019