Vertical tab 'N
(Redirected from User:Vertical tab 'N)
- The title of this page is incorrect because of technical limitations.
Vertical tab 'N is a programming challenge. The goal is to write a program that prints the three ASCII characters in this order: a vertical tab (U+000B), an apostrophe, and a capital N. It just so happens that the source code in AuFI is the stage name of a well-known contemporary musician in China. (User talk:Vertical tab 'N is one of his fans) The source code in PTotE also is one of the former stage names of the musician.
Implementations
AuFI
Left as an exercise to the reader.
Befunge
56+:,2+3*:,2*,@
Brainfuck
+++++++++++.++[>+++<-]>.[>++<-]>.
C++
#include <cstdio> int main(){ putchar(11); putchar(39); putchar(78); return 0;}
Alternative:
#include <cstdio> int main(){ printf("%c\'N",11); return 0; }
Hexdump
0B 27 4E
Java
public class Main { public static void main(String[] args) { System.out.print("\013\'N"); } }
Linguine
1[0=11,0$,0=39,0$,0=78,0$]0
Mendeleev
H1: Share the discovery of Na. H2: Share the discovery of Y. H3: Share the discovery of Pt.
Pascal
var a:char; begin a:=char(11);write(a); a:=char(39);write(a); write('N'); end.
PTotE
Left as an exercise to the reader.
Python
print(chr(11) + "'N",end=)