a Happy New Year in A+ 'Happy New Year'
Report Happy_New_Year. Write: "Happy New Year".
WRITE “Happy New Year”
-- Happy New Year with Text_IO; use Text_IO; procedure HappyNewYear is begin Put_Line("Happy New Year"); end HappyNewYear;
# Happy New Year in Aleph println "Happy New Year"
printf("Happy New Year\n");
'begin' outstring(2, 'Happy New Year'); 'end'
PRINT "Happy New Year"
'Happy New Year'
<%@ language="javascript" %> <html><body> <% Response.Write('Happy New Year!'); %> </body></html>
.MODEL tiny .CODE ORG 100h HAPPY PROC MOV AH,09h LEA DX,msg INT 21h ;Display Happy New Year MOV AX,4C00h ;Exit to DOS INT 21h HAPPY ENDP msg DB 'Happy New Year$' END HAPPY
BEGIN { print "Happy New Year" }
PRINT "Happy New Year"
GET "LIBHDR" LET START () BE $( WRITES ("Happy New Year!*N") $)
(# do 'Happy New Year' -> putline #)
class HappyNewYear is == == HappyNewYear-Klasse == interface creation is == Erzeugt das HappyNewYear-Objekt do printIt end creation routines printIt is == prints Happy New Year do print("Happy New Year\n") end printIt end class
#! this is also a single line comment {- and a multi-liine comment. -} "Happy New Year" println.
main() { printf("Happy New Year\n"); }
using System; class HappyNewYear { static void Main() { Console.WriteLine("Happy New Year"); } }
#include<iostream> int main(){ std::cout<<"Happy new year!"<<std::endl; return 0; }
#include <stdio.h> cilk void main() { printf("Happy New Year\n"); }
[ main() -> printf("Happy New Year\n") ]
? "Happy New Year" quit
IDENTIFICATION DIVISION. PROGRAM-ID. HappyNewYear. AUTHOR. Fabritius. ENVIRONMENT DIVISION. CONFIGURATION SECTION. INPUT-OUTPUT SECTION. DATA DIVISION. FILE SECTION. WORKING-STORAGE SECTION. LINKAGE SECTION. PROCEDURE DIVISION. DISPLAY "Happy New Year". STOP RUN.
module HappyNewYear import StdEnv Start :: String Start = "Happy New Year"
[print "Happy New Year"];
BEGIN ; WRITE 6 'Happy New Year' ; { 6 ist Stdout } END ;
cout << "Happy New Year\n";
{curl 1.7 applet} {applet license = "personal"} Happy New Year
#include <stdio.h> int main() { printf("Happy New Year\n"); return 0; }
? "Happy New Year" return
@ECHO OFF ECHO Happy New Year Dylan define method Happy-New-Year() format-out("Happy New Year\n"); end method Happy-New-Year; Happy-New-Year();
println( "Happy New Year" )
indexing title: "Happy New Year"; author: "rgen3"; class MAIN creation make feature make is do io.put_string("Happy New Year"); io.new_line end -- make end -- class MAIN
const HappyNewYear == object HappyNewYear process stdout.putstring["Happy New Year\n"] stdin.close stdout.close end process end HappyNewYear
io:fwrite("Happy New Year~n"). %% im Eingabemodus
puts (1, "Happy New Year\n")
output "Happy New Year" ;;
.box Happy New Year !!! .ende
." Happy New Year"
Fortran
PROGRAM HappyNewYear PRINT *, "Happy New Year" END PROGRAM HappyNewYear
? "Happy New Year" return
show "Happy New Year"
-- file: Main.hs -- compile: ghc --make Main -o main module Main (main) where main = putStr "Happy New Year\n"
# definiere ein Objekt HappyNewYear :set HappyNewYear <b>HappyNewYear</b> : # definiert das Startobjekt, welches man mittels URL aufrufen kann :out main <html><head></head><body> <HappyNewYear> <!-- ruft das Objekt HappyNewYear auf --> </body></html>
"Happy New Year\n";
<html> <head> <title>Happy New Year</title> </head> <body> Happy New Year </body> </html>
&CONTROL * &TYPE Happy New Year! * &EXIT 0 <h4>Icon</h4>
procedure main(args) write("Happy New Year\n") end
'Happy New Year'
import java.applet.*; import java.awt.*; public class HappyNewYear extends Applet { public void paint(Graphics g) { g.drawString("Happy New Year",10,10); }
<html> <head> <title>Javascript Happy New Year</title> </head> <body> <script> document.write("Happy New Year!"); </script> </body> </html>
` 0:"Happy New Year\n"
\documentclass[a4paper]{report} \title{Happy New Year in LaTeX} \begin{document} Happy New Year \end{document}
include "std.led"; begin print("Happy New Year"); end;
print "Happy New Year"
(print "Happy New Year")
print [Happy New Year]
@SysInclude {doc} @Doc @Text @Begin Happy New Year @End @Text
print("Happy New Year\n")
main-target: @echo "Happy New Year"
% compile with: % mmake Happy.depend % mmake Happy :- module Happy. :- interface. :- import_module io. % di=desctructive input, uo=unique output :- pred main(io__state::di, io__state::uo) is det. :- implementation. % "-->" tells that we are using DCG (definite clause grammar), which frees us % from threading some extra arguments through the code. main --> io__write_string("Happy New Year\n").
"Happy New Year!".println
"Happy New Year!"
module Main { val () = ConsoleIO.print "Happy New Year\n" }
MODULE HappyNewYear; FROM InOut IMPORT WriteString, WriteLn; BEGIN WriteString('Happy New Year'); WriteLn; END HappyNewYear.
HAPPY W "Happy New Year",! Q
print_string("Happy New Year\n");
MODULE HappyNewYear; IMPORT Out; BEGIN Out.Open; Out.String('Happy New Year'); END HappyNewYear.
void main() { printf("Happy New Year\n"); }
print_string("Happy New Year\n");;
sys_printText("Happy New Year\n");
printf("Happy New Year\n")
% Happy New Year!!! {Show 'Happy New Year'}
print "Happy New Year\n"
PROGRAM HappyNewYear; BEGIN WRITELN('Happy New Year'); END.
print "Happy New Year\n";
(* Happy New Year! *) module HappyNewYear; import stdio; begin stdio.puts("Happy New Year\n"); end HappyNewYear.
<?php echo "Happy New Year\n"; ?>
{ "da es in Pico keine Kommentare gibt,"; "verwende ich einfach Strings."; display('Happy New Year', eoln) }
void main() { write("Happy New Year\n"); }
PROGRAM HappyNewYear; BEGIN WRITELN('Happy New Year'); END.
HAPPY: PROCEDURE OPTIONS (MAIN); PUT SKIP LIST('HAPPY NEW YEAR!'); END HAPPY;
BEGIN DBMS_OUTPUT.put_line('Happy New Year'); END;
console "Happy New Year" eol
% Happy New Year /Courier findfont 28 scalefont setfont 0 0 moveto (Happy New Year) show % Text links unten ausgeben showpage
PRINT "Happy New Year"
?- write('Happy New Year'), nl.
print "Happy New Year"
print("Happy New Year")
[Title: "Happy New Year" Date: 1-Jan-2012 File: %webscan.r Author: "Rgen3" Version: 1.2.3 print "Happy New Year"]
SAY "Happy New Year"
"Happy New Year\n".display
class MAIN is main is #OUT + "Happy New Year\n"; end; -- main end; -- class MAIN
(display "Happy New Year")
echo Happy New Year
begin OutText("Happy New Year"); OutImage end
class HappyNewYear interface methods show returns nil; inputfilters disp: Dispatch = {inner.*}; end; class HappyNewYear implementation methods show begin self.printLine('Happy New Year'); end; end; main temps Happy: HappyNewYear; begin Happy.show end
PROGRAM Happy_New_Year OUTPUT ('Happy New Year') END
define main function main(returns array [Character]) "Happy New Year" end function
'Happy New Year' out.
print "Happy New Year\n";
OUTPUT = 'Happy New Year' END
SELECT 'Happy New Year'
? "Happy New Year!"
puts "Happy New Year" TI-83 Graphing Calculator :Disp "Happy New Year"
implementation class HappyNewYear int main Array argv { [[[stdio out] print "Happy New Year"] nl]; return 0; } end; implementation instance HappyNewYear end;
put "Happy New Year"
define program [repeat token] end define % Main transformation rule - whatever the input, % transform it into Happy New Year function main replace [program] _ [program] by "Happy New Year" end function
main : String is "Happy New Year\n"
ENTITY HappyNewYear IS END HappyNewYear; ARCHITECTURE bhv OF HappyNewYear IS BEGIN ASSERT FALSE REPORT "HAPPY NEW YEAR" SEVERITY NOTE; END bhv;
:echo "Happy New Year"
PrintLn("Happy New Year");
<?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <!-- Happy New Year in WML --> <wml> <card id="Happy_New_Year" title="Happy New Year"> <p>Happy New Year</p> </card> </wml>
code Text=12; Text(0, "Happy New Year");
WriteString("Happy New Year");
DEFINITION MODULE HappyNewYear; CLASS HappyClass; METHOD CREATE; METHOD Main; END HappyClass; END HappyNewYear; IMPLEMENTATION MODULE HappyNewYear; FROM Streams IMPORT StdOut; CLASS HappyClass; METHOD CREATE; BEGIN -- wird aufgerufen um das Objekt zu initialisieren Main; END; METHOD Main; BEGIN StdOut.WriteLine ("Happy New Year"); END Main; END HappyClass; END HappyNewYear;
import yoix.stdio.*; printf("Happy New Year\n");
write, "Happy New Year\n"
Source: https://habr.com/ru/post/135212/
All Articles