The Code-Bin
Links
Home
Add your code!
All Listings
About
Latest Entry
Featured Scripts
Author's Website
Latest Entries
FFMPEG Thumbnail Scr...
PHP, 0.8KB
Jul. 29, 10:24pm
John
Z80 Assembler, 190 bytes
Feb. 17, 3:36am
John
Z80 Assembler, 176 bytes
Sep. 13, 2:19am
John
Z80 Assembler, 77 bytes
Sep. 13, 2:18am
John
Z80 Assembler, 209 bytes
Sep. 13, 2:17am
hek
Posted by: Jakob Karlsson | January 29, 2008 @ 3:26pm
Javascript Code
[
Download
]
import static javax.swing.JOptionPane.*; public class pansar { public static void main(String[] arg){ String indata = showInputDialog("hur m�nga vagnar?"); String txt =""; int v = Integer.parseInt(indata); for (int i=1; i <= v; i=i+1) for (int j=0; j<=i; j=j+1) for (int k=0; k<=j; k=k+1) txt = txt + "___ " + '\n'; txt = txt +" /____/=====o" + '\n' ; txt = txt +"0ooooo0" + '\n' ; showMessageDialog(null, txt); System.exit(0); } }
Syntax Highlighting
[
Open in new window
]
Author Comments
none
Rating
4.56 / 8
173 Votes
http://codebin.yi.org/94
page generated in 0.00 seconds