Snipplr
http://snipplr.com/language/java/tags/number
Recent snippets posted on Snipplr.comen-usWed, 24 Sep 2014 08:28:07 GMT(Java) Find Pairs of Numbers - rikesh_kisnah
http://snipplr.com/view/74585/find-pairs-of-numbers/
Write a code that will find the sum of any pairs of numbers ]]>Fri, 16 May 2014 15:00:50 GMThttp://snipplr.com/view/74585/find-pairs-of-numbers/(Java) Multiplication of large numbers (Multiplicación de números grandes) - josepino
http://snipplr.com/view/52057/multiplication-of-large-numbers-multiplicacin-de-nmeros-grandes/
An example of Karatsuba algorithm for multiplication of n digit numbers. ]]>Thu, 14 Apr 2011 13:23:23 GMThttp://snipplr.com/view/52057/multiplication-of-large-numbers-multiplicacin-de-nmeros-grandes/(Java) PC Guesses Remembered Number - Sverri
http://snipplr.com/view/39700/pc-guesses-remembered-number/
The player selects a range from 0 to n, remembers a number in this range and then the script asks the player a question trying to guess the number. The PC will always guess the correct number.\r\n\r\nI could have added more varied questions, but the task did not state it had to be interesting, and being a lazy creature I took the path of least résistance. ]]>Mon, 30 Aug 2010 16:05:35 GMThttp://snipplr.com/view/39700/pc-guesses-remembered-number/(Java) Random Integer between 1 and n - joshnunn
http://snipplr.com/view/18904/random-integer-between-1-and-n/
This was an example provided for us to generate a number between 1 and n. The URL included was the best explaination I could find. Substitute any number in place of the 1 for a different starting number. Take the starting number from your highest number, and plug that into n for a different range. ]]>Thu, 27 Aug 2009 06:11:26 GMThttp://snipplr.com/view/18904/random-integer-between-1-and-n/(Java) generateNumber - The_Englishman
http://snipplr.com/view/2581/generatenumber/
]]>Wed, 02 May 2007 10:53:13 GMThttp://snipplr.com/view/2581/generatenumber/(Java) Java prime number generator - gdonald
http://snipplr.com/view/1225/java-prime-number-generator/
]]>Wed, 27 Sep 2006 10:57:06 GMThttp://snipplr.com/view/1225/java-prime-number-generator/