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
untitled Java Code
Posted by: count | March 11, 2008 @ 2:30pm
Java Code
[
Download
]
int input; int nums[]; int count=0; if (input >= 10 && input <= 100) { if (nums[input] == 0) { nums[input]++; count++; } else { //duplicate nums[input]=1; } } else { //out of range status } //output for (int i=10; i>=100; i++) { if (nums[i]) System.out.println (i); }
Syntax Highlighting
[
Open in new window
]
Author Comments
none
Rating
4.49 / 8
154 Votes
http://codebin.yi.org/121
page generated in 0.01 seconds